Tools that honor the Time Zone environment will specify the time zone in which the date fields are stored.
Usage notes
- If a layer contains date fields with dates stored in a local time zone, such as eastern standard time, specify the time zone in which the dates are recorded. This allows the data to correctly store date and time values and allows clients from different time zones to display the values in the time zone in which the data was created.
- If the output is a scene layer package, the date fields are encoded in ECMA ISO 8601 standard as UTC or as a user-specified time zone.
Dialog syntax
Time Zone—The time zone in which the date fields are stored.
Scripting syntax
arcpy.env.timeZone = string
Parameter | Explanation |
---|---|
string | The time zone in which the data fields are stored. |
Script example
import arcpy
# Set the timeZone environment to United States pacific standard time
arcpy.env.timeZone = "Pacific_Standard_Time"
Time zones
Environment name | Environment keyword |
---|---|
AUS Central Standard Time | AUS_Central_Standard_Time |
AUS Eastern Standard Time | AUS_Eastern_Standard_Time |
Afghanistan Standard Time | Afghanistan_Standard_Time |
Alaskan Standard Time | Alaskan_Standard_Time |
Aleutian Standard Time | Aleutian_Standard_Time |
Altai Standard Time | Altai_Standard_Time |
Arab Standard Time | Arab_Standard_Time |
Arabian Standard Time | Arabian_Standard_Time |
Arabic Standard Time | Arabic_Standard_Time |
Argentina Standard Time | Argentina_Standard_Time |
Astrakhan Standard Time | Astrakhan_Standard_Time |
Atlantic Standard Time | Atlantic_Standard_Time |
Aus Central W. Standard Time | Aus_Central_W._Standard_Time |
Azerbaijan Standard Time | Azerbaijan_Standard_Time |
Azores Standard Time | Azores_Standard_Time |
Bahia Standard Time | Bahia_Standard_Time |
Bangladesh Standard Time | Bangladesh_Standard_Time |
Belarus Standard Time | Belarus_Standard_Time |
Bougainville Standard Time | Bougainville_Standard_Time |
Canada Central Standard Time | Canada_Central_Standard_Time |
Cape Verde Standard Time | Cape_Verde_Standard_Time |
Caucasus Standard Time | Caucasus_Standard_Time |
Cen. Australia Standard Time | Cen._Australia_Standard_Time |
Central America Standard Time | Central_America_Standard_Time |
Central Asia Standard Time | Central_Asia_Standard_Time |
Central Brazilian Standard Time | Central_Brazilian_Standard_Time |
Central Europe Standard Time | Central_Europe_Standard_Time |
Central European Standard Time | Central_European_Standard_Time |
Central Pacific Standard Time | Central_Pacific_Standard_Time |
Central Standard Time | Central_Standard_Time |
Central Standard Time (Mexico) | Central_Standard_Time_(Mexico) |
Chatham Islands Standard Time | Chatham_Islands_Standard_Time |
China Standard Time | China_Standard_Time |
Cuba Standard Time | Cuba_Standard_Time |
Dateline Standard Time | Dateline_Standard_Time |
E. Africa Standard Time | E._Africa_Standard_Time |
E. Australia Standard Time | E._Australia_Standard_Time |
E. Europe Standard Time | E._Europe_Standard_Time |
E. South America Standard Time | E._South_America_Standard_Time |
Easter Island Standard Time | Easter_Island_Standard_Time |
Eastern Standard Time | Eastern_Standard_Time |
Eastern Standard Time (Mexico) | Eastern_Standard_Time_(Mexico) |
Egypt Standard Time | Egypt_Standard_Time |
Ekaterinburg Standard Time | Ekaterinburg_Standard_Time |
FLE Standard Time | FLE_Standard_Time |
Fiji Standard Time | Fiji_Standard_Time |
GMT Standard Time | GMT_Standard_Time |
GTB Standard Time | GTB_Standard_Time |
Georgian Standard Time | Georgian_Standard_Time |
Greenland Standard Time | Greenland_Standard_Time |
Greenwich Standard Time | Greenwich_Standard_Time |
Haiti Standard Time | Haiti_Standard_Time |
Hawaiian Standard Time | Hawaiian_Standard_Time |
India Standard Time | India_Standard_Time |
Iran Standard Time | Iran_Standard_Time |
Israel Standard Time | Israel_Standard_Time |
Jordan Standard Time | Jordan_Standard_Time |
Kaliningrad Standard Time | Kaliningrad_Standard_Time |
Kamchatka Standard Time | Kamchatka_Standard_Time |
Korea Standard Time | Korea_Standard_Time |
Libya Standard Time | Libya_Standard_Time |
Line Islands Standard Time | Line_Islands_Standard_Time |
Lord Howe Standard Time | Lord_Howe_Standard_Time |
Magadan Standard Time | Magadan_Standard_Time |
Magallanes Standard Time | Magallanes_Standard_Time |
Marquesas Standard Time | Marquesas_Standard_Time |
Mauritius Standard Time | Mauritius_Standard_Time |
Mid-Atlantic Standard Time | Mid-Atlantic_Standard_Time |
Middle East Standard Time | Middle_East_Standard_Time |
Montevideo Standard Time | Montevideo_Standard_Time |
Morocco Standard Time | Morocco_Standard_Time |
Mountain Standard Time | Mountain_Standard_Time |
Mountain Standard Time (Mexico) | Mountain_Standard_Time_(Mexico) |
Myanmar Standard Time | Myanmar_Standard_Time |
N. Central Asia Standard Time | N._Central_Asia_Standard_Time |
Namibia Standard Time | Namibia_Standard_Time |
Nepal Standard Time | Nepal_Standard_Time |
New Zealand Standard Time | New_Zealand_Standard_Time |
Newfoundland Standard Time | Newfoundland_Standard_Time |
Norfolk Standard Time | Norfolk_Standard_Time |
North Asia East Standard Time | North_Asia_East_Standard_Time |
North Asia Standard Time | North_Asia_Standard_Time |
North Korea Standard Time | North_Korea_Standard_Time |
Omsk Standard Time | Omsk_Standard_Time |
Pacific SA Standard Time | Pacific_SA_Standard_Time |
Pacific Standard Time | Pacific_Standard_Time |
Pacific Standard Time (Mexico) | Pacific_Standard_Time_(Mexico) |
Pakistan Standard Time | Pakistan_Standard_Time |
Paraguay Standard Time | Paraguay_Standard_Time |
Qyzylorda Standard Time | Qyzylorda_Standard_Time |
Romance Standard Time | Romance_Standard_Time |
Russia Time Zone 10 | Russia_Time_Zone_10 |
Russia Time Zone 11 | Russia_Time_Zone_11 |
Russia Time Zone 3 | Russia_Time_Zone_3 |
Russian Standard Time | Russian_Standard_Time |
SA Eastern Standard Time | SA_Eastern_Standard_Time |
SA Pacific Standard Time | SA_Pacific_Standard_Time |
SA Western Standard Time | SA_Western_Standard_Time |
SE Asia Standard Time | SE_Asia_Standard_Time |
Saint Pierre Standard Time | Saint_Pierre_Standard_Time |
Sakhalin Standard Time | Sakhalin_Standard_Time |
Samoa Standard Time | Samoa_Standard_Time |
Sao Tome Standard Time | Sao_Tome_Standard_Time |
Saratov Standard Time | Saratov_Standard_Time |
Singapore Standard Time | Singapore_Standard_Time |
South Africa Standard Time | South_Africa_Standard_Time |
South Sudan Standard Time | South_Sudan_Standard_Time |
Sri Lanka Standard Time | Sri_Lanka_Standard_Time |
Sudan Standard Time | Sudan_Standard_Time |
Syria Standard Time | Syria_Standard_Time |
Taipei Standard Time | Taipei_Standard_Time |
Tasmania Standard Time | Tasmania_Standard_Time |
Tocantins Standard Time | Tocantins_Standard_Time |
Tokyo Standard Time | Tokyo_Standard_Time |
Tomsk Standard Time | Tomsk_Standard_Time |
Tonga Standard Time | Tonga_Standard_Time |
Transbaikal Standard Time | Transbaikal_Standard_Time |
Turkey Standard Time | Turkey_Standard_Time |
Turks And Caicos Standard Time | Turks_And_Caicos_Standard_Time |
US Eastern Standard Time | US_Eastern_Standard_Time |
US Mountain Standard Time | US_Mountain_Standard_Time |
UTC | UTC |
UTC+12 | UTC+12 |
UTC+13 | UTC+13 |
UTC-02 | UTC-02 |
UTC-08 | UTC-08 |
UTC-09 | UTC-09 |
UTC-11 | UTC-11 |
Ulaanbaatar Standard Time | Ulaanbaatar_Standard_Time |
Venezuela Standard Time | Venezuela_Standard_Time |
Vladivostok Standard Time | Vladivostok_Standard_Time |
Volgograd Standard Time | Volgograd_Standard_Time |
W. Australia Standard Time | W._Australia_Standard_Time |
W. Central Africa Standard Time | W._Central_Africa_Standard_Time |
W. Europe Standard Time | W._Europe_Standard_Time |
W. Mongolia Standard Time | W._Mongolia_Standard_Time |
West Asia Standard Time | West_Asia_Standard_Time |
West Bank Standard Time | West_Bank_Standard_Time |
West Pacific Standard Time | West_Pacific_Standard_Time |
Yakutsk Standard Time | Yakutsk_Standard_Time |
Yukon Standard Time | Yukon_Standard_Time |