Skip to content

getSystemTimeZone

  • The core functions, which every industry uses.
getSystemTimeZone(): string

Return the runtime system timeZone name (for example “Europe/London”).

  • Uses Intl.DateTimeFormat().resolvedOptions().timeZone to get system timezone.
  • Returns "" when the host reports no usable time zone. With an empty TZ the runtime reports ICU’s placeholder "Etc/Unknown", and with an unrecognised TZ it reports undefined; neither is a zone that Temporal or Intl.DateTimeFormat accepts.

system timeZone name or "" on failure

import { getSystemTimeZone } from "@northguild/gmt/zoned/get";
getSystemTimeZone() // "Europe/London"
output 

zoned/get/getSystemTimeZone.ts

Accessibility
© 2026 NorthGuild · Licences

Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.