videosphere
    Preparing search index...

    Function getDefaultScheduleParts

    • Default schedule date and time in timeZone: the next whole hour after now. When that hour is midnight, the calendar date advances to the next day.

      Parameters

      • timeZone: string

        IANA timezone name.

      • now: Date = ...

        Reference instant (defaults to current time).

      Returns { dateStr: string; timeStr: string }

      Wall-clock date and time strings for the schedule picker.