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
Parameter | Explanation |
---|---|
boolean | Indicates whether the values in the date fields were collected while observing daylight saving time in the input time zone. |
Script example
import arcpy
# Set the daylightSaving environment to Enabled
arcpy.env.daylightSaving = True