info(“localtimezone”)
info(“localtimezone”)

The info(“localtimezone”) function returns the local time zone for the current location of your computer.

Description

This function returns the local time zone for the current location of your computer (assuming the computer is configured correctly). The zone is returned as a continent/city pair, like this:

    info("localtimezone") ☞ America/Los_Angeles

Use the info(“timezones”) function for a list of all possible local time zones.

See Also

- converttimezone( -- converts a time or superdate from one time zone to another.
- daylightsavingstimeoffset( -- returns the current daylight saving time offset of the specified time zone.
- info("timezoneabbreviations") -- returns a dictionary of time zone abbreviations supported by the system.
- info("timezones") -- returns a list of time zone regions recognized by the system.
- nextdaylightsavingstimetransition( -- returns the next date on which a transition to or from daylight savings time occurs.
- timezoneabbreviation( -- returns the abbreviation of the specified time zone.
- timezonename( -- returns the continent and city of the specified time zone.

History

Version | Status | Notes
10.2 | New | New in this version