Adjust for Daylight Saving (Environment setting)

Tools that honor the Adjust for Daylight Saving environment adjust the values in the date field's time zone to account for daylight saving time.

Usage notes

  • If you specify a time zone other than UTC and you want the time zone to account for daylight saving time, check this property.

Dialog syntax

  • Checked—Date field values observe daylight saving time in the input time zone.
  • Unchecked—Date field values do not observe daylight saving time in the input time zone. This is the default.

Scripting syntax

arcpy.env.daylightSaving = boolean

ParameterExplanation

boolean

Indicates whether the values in the date fields were collected while observing daylight saving time in the input time zone.

daylightSaving syntax

Script example


import arcpy

# Set the daylightSaving environment to Enabled
arcpy.env.daylightSaving = True