TAMS Club Calendar Frontend Documentation
    Preparing search index...

    Function formatTime

    • Formats a UTC millisecond time while converting to central timezone

      Parameters

      • millis: number

        UTC millisecond time to format

      • format: string

        Dayjs format to format the time to

      • checkMidnight: boolean = false

        If true, will check for midnight/noon and return those words if true

      Returns string

      The formatted time or midnight/noon if checkMidnight is true