info("timezones")
info("timezones")

The info(“timezones”) function returns a list of time zone regions recognized by the system.

Description

This function returns a carriage return separated list of time zone regions recognized by the system. Each name is in the format Continent/City, for example:

    Africa/Johannesburg
    Africa/Lagos
    America/Los_Angeles
    America/Juneau
    America/Santiago
    Antarctica/McMurdo
    Asia/Bangkok
    Asia/Tokyo
    Australia/Sydney
    Europe/Amsterdam
    Europe/Lisbon
    Indian/Mauritius
    Pacific/Fiji
    Pacific/Honolulu

This is just a small sampling of the list – at the time this was written, there were 437 recognized time zone regions. This list may change over time, so you should always use this function to determine the current list of regions supported on your system.

Note: When specifying a time zone in functions like converttimezone(, you can omit the continent name and use just the city name, for example Amsterdam. You can also use spaces instead of underscores, for example Los Angeles.

Please note that the list of time zone regions is maintained by Apple, if you have suggestions for additional zones, please direct them to Apple.

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.
- 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