Function get24HrTimestamps

  • Generates timestamps for a 24-hour period starting from 8 AM UTC of a given or current day.

    Parameters

    • Optional date: Date

      The starting date. If not provided, the current date is used.

    Returns {
        exerciseTimestamp: number;
        expiryTimestamp: number;
    }

    An object with 'exerciseTimestamp' and 'expiryTimestamp' representing the start and end of the 24-hour period.

    • exerciseTimestamp: number
    • expiryTimestamp: number

Generated using TypeDoc