Skip To Content

What is the Time module?

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

ClassDescription

EsriTimeDelta

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

TimeZoneInfo

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

Time functions

ClassDescription

ListTimeZones

Lists valid Time Zone IDs.