Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The Temporal.Now.timeZoneId()
static method returns a time zone identifier representing the system's current time zone. Most systems will return a primary time zone identifier such as "America/New_York"
, though offset time zone identifier such as "-04:00"
is possible too. The time zone identifier returned is the default time zone used by the other Temporal.Now
methods.