ChronosChronos

getTimeZoneOffsetMinutes

Returns the current Chronos` instance's timezone offset in minutes.

getTimeZoneOffsetMinutes()

Returns the current Chronos instance's offset in minutes.

Signature

getTimeZoneOffsetMinutes(): number

Return Type

number — The offset in minutes

Description

Returns the offset of the current Chronos instance's timezone in minutes, based on the internally stored offset string (e.g., UTC+06:00360).

  • Independent of system timezone
  • Matches the ±HH:mm sign convention

Info

Used internally for calculating UTC equivalence, especially when converting between time zones.

Example

playground.ts

Last updated: Thu, May 21, 2026 03:14:59PM (UTC)

On this page