Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides a list of supported timezones a time-zone specification.
Syntax
datetime_list_timezones()
Parameters
None, the function doesn't have any parameters.
Returns
Returns a list of timezones supported by the Internet Assigned Numbers Authority (IANA) Time Zone Database.
Examples
The following example shows how to get a list of all supported timezones.
print datetime_list_timezones()
Output print datetime_list_timezones()
Related content
- To convert from UTC to local, see datetime_utc_to_local()
- To convert a datetime from local to UTC, see datetime_local_to_utc()
- Timezones
- format_datetime()