@umbraco-cms/backoffice
    Preparing search index...

    Function getTimeZoneOffset

    • Returns the time zone offset for a given time zone ID and date.

      Parameters

      • timeZoneId: string

        The time zone identifier (e.g., 'America/New_York').

      • date: DateTime

        The Luxon DateTime object for which to get the offset.

      Returns string

      The time zone offset