usingSystem;usingSystem.Collections.ObjectModel;usingSystem.Linq;namespaceconsoleapplication1{classProgram {Private Static voidMain (string[] args) { Try{readonlycollection<TimeZoneInfo> zones =Timezoneinfo.getsystemtimezones (); Console.WriteLine ("The Local system has the following {0} time zones", zones. Count); varresult = zones. (x =x.id); foreach(varIteminchresult) {Console.WriteLine ("{0} {1}", item. Id, item); } } Catch(Exception ex) { while(Ex! =NULL) {Console.WriteLine (ex. Message); Ex=Ex. innerexception; }} console.readline (); } }}
Results
The local system has the following 102 time zones
Afghanistan Standard Time (UTC+04:30) Kabul
Alaskan Standard Time (UTC-09:00) Alaska
Arab Standard Time (UTC+03:00) Kuwait, Riyadh
Arabian Standard Time (utc+04:00) Abu Dhabi, Muscat
Arabic Standard Time (utc+03:00) Baghdad
Argentina Standard Time (utc-03:00) Buenos Aires
Atlantic Standard Time (utc-04:00) Atlantic Times (Canada)
AUS Central Standard Time (UTC+09:30) Darwin
AUS Eastern Standard Time (utc+10:00) Canberra, Melbourne, Sydney
Azerbaijan Standard Time (UTC+04:00) Baku
Azores Standard Time (utc-01:00) Acores, Is. Dos
Bahia Standard Time (utc-03:00) El Salvador
Bangladesh Standard Time (utc+06:00) Dhaka
Canada Central Standard Time (utc-06:00) Saskatchewan
Cape Verde Standard Time (utc-01:00) Cape Verde Islands
Caucasus Standard Time (utc+04:00) Yerevan
Cen. Australia Standard Time (utc+09:30) Adelaide
Central America Standard Time (utc-06:00) Middle America
Central Asia Standard Time (utc+06:00) Astana
Central Brazilian Standard Time (utc-04:00) Cuiaba
Central Europe Standard Time (utc+01:00) Belgrade, Bratislava, Budapest, Lou
Burjana, Prague
Central European Standard Time (utc+01:00) Sarajevo, Skopje, Warsaw, Zagreb
Central Pacific Standard Time (utc+11:00) Solomon Islands, New Caledonia
Central utc-06:00 Time (US and Canada)
Central Standard Time (Mexico) (utc-06:00) Guadalajara, Mexico City, Monterrey
China Standard Time (utc+08:00) Beijing, Chongqing, Hong Kong, Urumqi
Dateline Standard Time (utc-12:00) International Date Line West
E. Africa standard Time (utc+03:00) Nairobi
E. Australia standard Time (utc+10:00) Brisbane
E. Europe standard Time (utc+02:00) Eastern Europe
E. South America Standard Time (utc-03:00) Brasilia
Eastern Standard Time (utc-05:00) EST (US and Canada)
Egypt Standard Time (utc+02:00) Cairo
Ekaterinburg Standard Time (utc+06:00) Jekaterinburg
Fiji Standard Time (utc+12:00) Fiji
FLE Standard Time (utc+02:00) Helsinki, Kiev, Riga, Sofia, Tallinn, Vilnius
Georgian Standard Time (utc+04:00) Tbilisi
GMT Standard Time (UTC) Dublin, Edinburgh, Lisbon, London
Greenland Standard Time (utc-03:00) Greenland
Greenwich Standard Time (UTC) Monrovia, Reykjavik
GTB Standard Time (utc+02:00) Athens, Bucharest
Hawaiian Standard Time (UTC-10:00) Hawaii
India Standard Time (utc+05:30) Chennai, Kolkata, Mumbai, New Delhi
Standard Time (utc+03:30) Tehran
Israel Standard Time (utc+02:00) Jerusalem
Jordan Standard Time (utc+03:00) Amman
Kaliningrad Standard Time (utc+03:00) Kaliningrad, Minsk
Kamchatka Standard Time (utc+12:00) Petropavlovsk Pavlov-Kamchatka-old
Korea Standard Time (utc+09:00) Seoul
Libya Standard Time (utc+01:00) Tripoli
Magadan Standard Time (utc+12:00) Magadan
Mauritius Standard Time (utc+04:00) Port Louis
Mid-Atlantic Standard Time (utc-02:00) mid-Atlantic
Middle East Standard Time (utc+02:00) Beirut
Montevideo Standard Time (utc-03:00) Montevideo
Morocco Standard Time (UTC) Casablanca
Mountain Standard Time (utc-07:00) mountain times (US and Canada)
Mountain Standard Time (Mexico) (utc-07:00) Chihuahua, Lapaz, Mazatlan
Myanmar Standard Time (utc+06:30) Yangon
N. Central Asia Standard Time (utc+07:00) Novosibirsk
Namibia Standard Time (utc+01:00) Windhoek
Nepal Standard Time (UTC+05:45) Kathmandu
New Zealand Standard Time (utc+12:00) Oakland, Wellington
Newfoundland Standard Time (utc-03:30) Newfoundland
North Asia East Standard Time (utc+09:00) Irkutsk
North Asia Standard Time (utc+08:00) Krasnoyarsk
Pacific SA Standard Time (utc-04:00) Santiago
Pacific Standard Time (UTC-08:00) Pacific Times (US and Canada)
Pacific Standard Time (Mexico) (utc-08:00) under California State
Pakistan Standard Time (utc+05:00) Islamabad, Karachi
Paraguay Standard Time (utc-04:00) Asuncion
Romance Standard Time (utc+01:00) Brussels, Copenhagen, Madrid, Paris
Russian Standard Time (utc+04:00) Moscow, Saint Petersburg, Volgograd
SA Eastern Standard Time (utc-03:00) Cayenne, Fortaleza
SA Pacific Standard Time (utc-05:00) Bogota, Lima, Quito
SA Western Standard Time (utc-04:00) Georgetown, Lapaz, Manaus, San Juan
Samoa Standard Time (utc+13:00) Samoan Is.
SE Asia Standard Time (utc+07:00) Bangkok, Hanoi, Jakarta
Singapore Standard Time (utc+08:00) Kuala Lumpur, Singapore
South Africa Standard Time (utc+02:00) Harare, Pretoria
Sri Lanka Standard Time (utc+05:30) Srigaia Pula
Standard Time (utc+02:00) Damascus
Taipei Standard Time (utc+08:00) Taipei
Tasmania Standard Time (utc+10:00) Hobart
Tokyo Standard Time (utc+09:00) Osaka, Sapporo, Japan
Tonga Standard Time (utc+13:00) Nuku'alofa
Turkey Standard Time (utc+02:00) Istanbul
Ulaanbaatar Standard Time (utc+08:00) Ulaanbaatar
US Eastern Standard Time (utc-05:00) Indiana (east)
US Mountain Standard Time (utc-07:00) Arizona
UTC (UTC) Coordinates the Universal
UTC+12 (UTC+12:00) coordinated world time +12
UTC-02 (UTC-02:00) coordinated World time-02
UTC-11 (UTC-11:00) coordinated world time-11
Venezuela Standard Time (UTC-04:30) Caracas
Vladivostok Standard Time (utc+11:00) Vladivostok
W. Australia Standard Time (utc+08:00) Perth
W. Central Africa Standard Time (utc+01:00) West Africa
W. Europe Standard Time (utc+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm,
Vienna
West Asia Standard Time (utc+05:00) Ashkhabad, Tashkent
West Pacific Standard Time (utc+10:00) Guam, Port Moresby
Yakutsk Standard Time (utc+10:00) Irkutsk
Get the time zone in the current system