Skip To Content

ListTimeZones

Summary

Lists valid Time Zone IDs.

Discussion

List available Time Zone IDs for use in the TimeZoneInfo class.

Syntax

ListTimeZones ()
Return Value
Data TypeExplanation
String

A list of Time Zone IDs.

Code sample

ListTimeZones example 1

The following script will list all available Time Zone IDs.

import arcpy
arcpy.time.ListTimeZones()