Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
384 views
in Technique[技术] by (71.8m points)

c# - What value should I pass into TimeZoneInfo.FindSystemTimeZoneById(String)?

I want to use the TimeZoneInfo.FindSystemTimeZoneById(String) method, but I don't know what values to use as the input?

Where can I get a list of values for id required for FindSystemTimeZoneById?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Here is the list in Windows 8 (I extracted from Windows Registry)

Afghanistan Standard Time
Alaskan Standard Time
Alaskan Standard TimeDynamic DST
Arab Standard Time
Arabian Standard Time
Arabic Standard Time
Arabic Standard TimeDynamic DST
Argentina Standard Time
Argentina Standard TimeDynamic DST
Atlantic Standard Time
Atlantic Standard TimeDynamic DST
AUS Central Standard Time
AUS Eastern Standard Time
AUS Eastern Standard TimeDynamic DST
Azerbaijan Standard Time
Azores Standard Time
Azores Standard TimeDynamic DST
Bahia Standard Time
Bahia Standard TimeDynamic DST
Bangladesh Standard Time
Bangladesh Standard TimeDynamic DST
Canada Central Standard Time
Cape Verde Standard Time
Caucasus Standard Time
Caucasus Standard TimeDynamic DST
Cen. Australia Standard Time
Cen. Australia Standard TimeDynamic DST
Central America Standard Time
Central Asia Standard Time
Central Brazilian Standard Time
Central Brazilian Standard TimeDynamic DST
Central Europe Standard Time
Central European Standard Time
Central Pacific Standard Time
Central Standard Time
Central Standard TimeDynamic DST
Central Standard Time (Mexico)
China Standard Time
Dateline Standard Time
E. Africa Standard Time
E. Australia Standard Time
E. Europe Standard Time
E. South America Standard Time
E. South America Standard TimeDynamic DST
Eastern Standard Time
Eastern Standard TimeDynamic DST
Egypt Standard Time
Egypt Standard TimeDynamic DST
Ekaterinburg Standard Time
Ekaterinburg Standard TimeDynamic DST
Fiji Standard Time
Fiji Standard TimeDynamic DST
FLE Standard Time
Georgian Standard Time
GMT Standard Time
Greenland Standard Time
Greenland Standard TimeDynamic DST
Greenwich Standard Time
GTB Standard Time
Hawaiian Standard Time
India Standard Time
Iran Standard Time
Iran Standard TimeDynamic DST
Israel Standard Time
Israel Standard TimeDynamic DST
Jordan Standard Time
Jordan Standard TimeDynamic DST
Kaliningrad Standard Time
Kaliningrad Standard TimeDynamic DST
Kamchatka Standard Time
Korea Standard Time
Libya Standard Time
Libya Standard TimeDynamic DST
Magadan Standard Time
Magadan Standard TimeDynamic DST
Mauritius Standard Time
Mauritius Standard TimeDynamic DST
Mid-Atlantic Standard Time
Middle East Standard Time
Middle East Standard TimeDynamic DST
Montevideo Standard Time
Montevideo Standard TimeDynamic DST
Morocco Standard Time
Morocco Standard TimeDynamic DST
Mountain Standard Time
Mountain Standard TimeDynamic DST
Mountain Standard Time (Mexico)
Myanmar Standard Time
N. Central Asia Standard Time
N. Central Asia Standard TimeDynamic DST
Namibia Standard Time
Namibia Standard TimeDynamic DST
Nepal Standard Time
New Zealand Standard Time
New Zealand Standard TimeDynamic DST
Newfoundland Standard Time
Newfoundland Standard TimeDynamic DST
North Asia East Standard Time
North Asia East Standard TimeDynamic DST
North Asia Standard Time
North Asia Standard TimeDynamic DST
Pacific SA Standard Time
Pacific SA Standard TimeDynamic DST
Pacific Standard Time
Pacific Standard TimeDynamic DST
Pacific Standard Time (Mexico)
Pakistan Standard Time
Pakistan Standard TimeDynamic DST
Paraguay Standard Time
Paraguay Standard TimeDynamic DST
Romance Standard Time
Russian Standard Time
Russian Standard TimeDynamic DST
SA Eastern Standard Time
SA Pacific Standard Time
SA Western Standard Time
Samoa Standard Time
Samoa Standard TimeDynamic DST
SE Asia Standard Time
Singapore Standard Time
South Africa Standard Time
Sri Lanka Standard Time
Syria Standard Time
Syria Standard TimeDynamic DST
Taipei Standard Time
Tasmania Standard Time
Tasmania Standard TimeDynamic DST
Tokyo Standard Time
Tonga Standard Time
Turkey Standard Time
Turkey Standard TimeDynamic DST
Ulaanbaatar Standard Time
US Eastern Standard Time
US Eastern Standard TimeDynamic DST
US Mountain Standard Time
UTC
UTC+12
UTC-02
UTC-11
Venezuela Standard Time
Venezuela Standard TimeDynamic DST
Vladivostok Standard Time
Vladivostok Standard TimeDynamic DST
W. Australia Standard Time
W. Australia Standard TimeDynamic DST
W. Central Africa Standard Time
W. Europe Standard Time
West Asia Standard Time
West Pacific Standard Time
Yakutsk Standard Time
Yakutsk Standard TimeDynamic DST

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...