timezonename(
timezonename()

The timezonename( function returns the continent and city of the specified time zone.

Parameters

No parameters.

Description

This function returns the continent and city of the specified time zone.

    timezoneaname("CET") ☞ Europe/Paris
    timezoneaname("SGT") ☞ Asia/Singapore
    timezoneaname("MDT") ☞ America/Denver

If the zone is not specified, it returns the continent and name of the current location.

    timezoneaname() ☞ America/Los_Angeles

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("localtimezone") -- returns the local time zone for the current location of your computer.
- 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.

History

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