Functions
countdown
- countdown(currentTime: Date, endTime: Date): Object
-
Parameters
-
currentTime: Date
-
endTime: Date
Returns Object
createLocalTimeZoneDate
- createLocalTimeZoneDate(localTimeDate: string): Date
easternTimeToLocalTimeDate
- easternTimeToLocalTimeDate(pacificTime: string): Date
isInBetween
- isInBetween(startTime: Date, endTime: Date, testTime: Date): boolean
-
Parameters
-
startTime: Date
-
endTime: Date
-
testTime: Date
Returns boolean
pacificTimeToLocalTimeDate
- pacificTimeToLocalTimeDate(pacificTime: string): Date
timeDiffMs
- timeDiffMs(startTime: number, endTime: number): number
-
Parameters
-
startTime: number
-
endTime: number
Returns number
utcDateToLocalTimeZone
- utcDateToLocalTimeZone(utcDate: Date): Date