formatDateTime(inputTime:string || number)
inputTime
example: formatDateTime(new Date().getTime())
formatDate(inputTime:string || number)
inputTime
example: formatDate(new Date().getTime())
difference(startTime,endTime)
startTime : '2020-10-20 15:30:49' || number
endTime : '2020-10-20 15:30:49' || number
example: difference('2020-10-20 15:30:49','2020-10-20 15:30:49')
example: difference(15612321515,16541156156156)
example: difference(15612321515)
endTime default Date.now().getTime()
regTest(regName : string,inputValue:string):void