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


History

VersionStatusNotes
10.2NewNew in this version