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
History
Version | Status | Notes |
10.2 | New | New in this version |