What is the Time module? (arcpy.time)

The arcpy.time module contains useful classes, methods and properties for working with time deltas and time zones in Python. When working with time deltas and time zones, users may find it more convenient to use the arcpy.time module instead of the core Python datetime module.

Time classes

Class

Description

EsriTimeDelta_class

The EsriTimeDelta class represents a duration, the difference between two dates or times.

TimeZoneInfo_class

The TimeZoneInfo class can be used to assign a time zone to a Python datetime object.

Time functions

Class

Description

ListTimeZones

Lists valid Time Zone IDs.

4/26/2014