2012-07-12 107 views
8

在列出由TimeZoneInfo.GetSystemTimeZones返回的TimeZoneInfo的所有Id屬性後,會出現兩個版本的EST:美國東部標準時間和東部標準時間。有什麼不同?.NET中的「美國東部標準時間」與「東部標準時間」比較

我也看到美國山標準時間和山標準時間,但我敢肯定,這是因爲美國版本是針對亞利桑那州,沒有觀察到夏令時。我假設山區標準時間適用於美國其他州的山區時區。我對麼?

在美國時區

有用的鏈接:http://www.timetemperature.com/tzus/time_zone.shtml

回答

13

以上回答是實際上是不正確 - 「美國東部標準時間」是指時區爲廣大印第安納,這並沒有2007年之前同樣採用夏令時,「加拿大中部標準時間」用於薩斯喀徹溫省,亞利桑那州用「美國山區標準時間」,但仍未遵守夏令時。

時區標識以不合邏輯的方式分配。例如提到的「無DST」版本開曼羣島被稱爲「SA太平洋標準時間」(SA =南美洲,如果您查看時區地圖,您將看到-05:00抵消適用於南美洲西海岸的哥倫比亞,厄瓜多爾和祕魯)

有關時區ID「格林威治標準時間」的另一個例子,指的是冰島使用的時區,即UTC + 00:00,全年無DST,而「GMT標準時間」指英國時區確實有DST。

每個時區對應於您可以從時區控制面板中選擇的某個菜單項。 This MSDN page shows the correspondence between the text in the menu and the actual timezone ID

010 Mountain Standard Time   (GMT-07:00) Mountain Time (US and Canada) 
013 Mexico Standard Time 2   (GMT-07:00) Chihuahua, La Paz, Mazatlan 
015 U.S. Mountain Standard Time (GMT-07:00) Arizona 
020 Central Standard Time   (GMT-06:00) Central Time (US and Canada) 
025 Canada Central Standard Time (GMT-06:00) Saskatchewan 
030 Mexico Standard Time   (GMT-06:00) Guadalajara, Mexico City, Monterrey 
033 Central America Standard Time (GMT-06:00) Central America 
035 Eastern Standard Time   (GMT-05:00) Eastern Time (US and Canada) 
040 U.S. Eastern Standard Time  (GMT-05:00) Indiana (East) 
045 S.A. Pacific Standard Time  (GMT-05:00) Bogota, Lima, Quito 
085 GMT Standard Time    (GMT) Greenwich Mean Time: Dublin, Edinburgh, Lisbon, London 
090 Greenwich Standard Time  (GMT) Casablanca, Monrovia 
+1

** TLDR; **'東部標準Time'是正確的 – 2016-06-08 14:47:24

+0

注意,給出的鏈接是隻適用於Windows嵌入式1.1(2006年)。沒有靜態頁面列出所有可用的時區,因爲它們可以在更新應用時更改。相反,在命令行上使用'tzutil/l'來列出安裝在計算機上的。或者,在.NET中使用'TimeZoneInfo.GetSystemTimeZones()'。 – 2017-12-15 18:18:07

相關問題