Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The timeZoneId accessor property of Temporal.ZonedDateTime instances returns a string representing the time zone identifier used to interpret the internal instant. The string is either a named identifier in the preferred case (such as "America/New_York"), or an offset in the form "±hh:mm". If the time zone has aliases, the timeZoneId is the identifier used to create the ZonedDateTime, without canonicalization to the primary identifier.
The set accessor of timeZoneId is undefined. You cannot change this property directly. Use the withTimeZone() method to create a new Temporal.ZonedDateTime object with the desired new value.
Note: This string is not intended for display to users. Use toLocaleString() with the appropriate options to get a localized string.