Options
All
  • Public
  • Public/Protected
  • All
Menu

External module time

Index

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

now

  • now(): number

pacificTimeToLocalTimeDate

  • pacificTimeToLocalTimeDate(pacificTime: string): Date

timeDiffMs

  • timeDiffMs(startTime: number, endTime: number): number
  • Parameters

    • startTime: number
    • endTime: number

    Returns number

utcDateToLocalTimeZone

  • utcDateToLocalTimeZone(utcDate: Date): Date