Pebble App Framework: Phone API
    Preparing search index...

    Function offsetMinutes

    • How far ahead of UTC a zone is at a given moment, in minutes.

      Measures the zone's own wall clock against UTC, which covers the half-hour and three-quarter-hour zones as well as the whole-hour ones.

      Parameters

      • zone: string

        An IANA zone name, such as Europe/London.

      • nowMs: number

        The moment to read the zone at, as epoch milliseconds.

      Returns number | null

      The offset in minutes, negative west of UTC, or null when the runtime cannot read the zone.