getTimeZoneOffsetMinutes
Returns the current Chronos` instance's timezone offset in minutes.
getTimeZoneOffsetMinutes()
Returns the current Chronos instance's offset in minutes.
Signature
getTimeZoneOffsetMinutes(): numberReturn 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:00 → 360).
- Independent of system timezone
- Matches the
±HH:mmsign 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)
