videosphere
    Preparing search index...

    Function zonedDateTimeToUtcIso

    • Converts a wall-clock date and time in an IANA timezone to a UTC ISO 8601 string.

      Parameters

      • dateStr: string

        Calendar date (YYYY-MM-DD).

      • timeStr: string

        Clock time (HH:MM).

      • timeZone: string

        IANA timezone name.

      Returns string

      UTC ISO 8601 timestamp.

      When the wall-clock date/time does not exist in timeZone (for example a DST gap).