datetime_list_timezones()
Returns a list of supported timezones a time-zone specification.
Syntax
datetime_list_timezones()
Parameters
None, the function doesn't have any parameters.
Returns
A list of timezones supported by the Internet Assigned Numbers Authority (IANA) Time Zone Database.
Example
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()