Learning never exhausts the mind
Home >  Coding > C# ASP.Net MVC > List of .Net Timezones and Timezone Information

Last Updated on by

A comprehensive list of .Net TimeZone information used for localising .Net applications in conjunction with the CultureInfo class. Timezones are used to help maintain local time and UTC and for conversion between the two.

It is becoming increasingly important for any application that works with dates and times to handle differences between time zones. An application can no longer assume that all times can be expressed in the local time, which is the time available from the DateTime structure. For example, a Web page that displays the current time in the eastern part of the United States will lack credibility to a customer in eastern Asia.

Coordinated Universal Time (UTC) is a high-precision, atomic time standard. The world's time zones are expressed as positive or negative offsets from UTC. Thus, UTC provides a kind of time-zone free or time-zone neutral time. The use of UTC time is recommended when a date and time's portability across computers is important.

The following code converts the current local time to UTC and displays the result to the console.

DateTime dateNow = DateTime.Now;
Console.WriteLine("The date and time are {0} UTC.", TimeZoneInfo.ConvertTimeToUtc(dateNow));

If the date and time value does not represent either the local time or UTC, the ToUniversalTime method will likely return an erroneous result. However, you can use the TimeZoneInfo.ConvertTimeToUtc method to convert the date and time from a specified time zone. The following code uses the TimeZoneInfo.ConvertTimeToUtc method to convert Eastern Standard Time to UTC.

Converting to UTC

Timezone ID can be found in the table at the bottom of this article.

DateTime easternTime = new DateTime(2007, 01, 02, 12, 16, 00);
string easternZoneId = "Eastern Standard Time";
try
{
   TimeZoneInfo easternZone = TimeZoneInfo.FindSystemTimeZoneById(easternZoneId);
   Console.WriteLine("The date and time are {0} UTC.", 
                     TimeZoneInfo.ConvertTimeToUtc(easternTime, easternZone));
}
catch (TimeZoneNotFoundException)
{
   Console.WriteLine("Unable to find the {0} zone in the registry.", 
                     easternZoneId);
}                           
catch (InvalidTimeZoneException)
{
   Console.WriteLine("Registry data on the {0} zone has been corrupted.", 
                     easternZoneId);
}

Converting Between Two Time Zones

The following example uses the ConvertTime method to convert from Hawaiian Standard Time to local time.

DateTime hwTime = new DateTime(2007, 02, 01, 08, 00, 00);
try
{
   TimeZoneInfo hwZone = TimeZoneInfo.FindSystemTimeZoneById("Hawaiian Standard Time");
   Console.WriteLine("{0} {1} is {2} local time.", 
           hwTime, 
           hwZone.IsDaylightSavingTime(hwTime) ? hwZone.DaylightName : hwZone.StandardName, 
           TimeZoneInfo.ConvertTime(hwTime, hwZone, TimeZoneInfo.Local));
}
catch (TimeZoneNotFoundException)
{
   Console.WriteLine("The registry does not define the Hawaiian Standard Time zone.");
}                           
catch (InvalidTimeZoneException)
{
   Console.WriteLine("Registry data on the Hawaiian Standard Time zone has been corrupted.");
}

List of .Net Timezone Values

Display NameUTC OffsetStandard NameDaylight NameSupports Daylight Savings
(UTC-12:00) International Date Line West-12:00:00Dateline Standard TimeDateline Daylight TimeFalse
(UTC-11:00) Coordinated Universal Time-11-11:00:00UTC-11UTC-11False
(UTC-10:00) Aleutian Islands-10:00:00Aleutian Standard TimeAleutian Daylight TimeTrue
(UTC-10:00) Hawaii-10:00:00Hawaiian Standard TimeHawaiian Daylight TimeFalse
(UTC-09:30) Marquesas Islands-09:30:00Marquesas Standard TimeMarquesas Daylight TimeFalse
(UTC-09:00) Alaska-09:00:00Alaskan Standard TimeAlaskan Daylight TimeTrue
(UTC-09:00) Coordinated Universal Time-09-09:00:00UTC-09UTC-09False
(UTC-08:00) Baja California-08:00:00Pacific Standard Time (Mexico)Pacific Daylight Time (Mexico)True
(UTC-08:00) Coordinated Universal Time-08-08:00:00UTC-08UTC-08False
(UTC-08:00) Pacific Time (US & Canada)-08:00:00Pacific Standard TimePacific Daylight TimeTrue
(UTC-07:00) Arizona-07:00:00US Mountain Standard TimeUS Mountain Daylight TimeFalse
(UTC-07:00) Chihuahua, La Paz, Mazatlan-07:00:00Mountain Standard Time (Mexico)Mountain Daylight Time (Mexico)True
(UTC-07:00) Mountain Time (US & Canada)-07:00:00Mountain Standard TimeMountain Daylight TimeTrue
(UTC-06:00) Central America-06:00:00Central America Standard TimeCentral America Daylight TimeFalse
(UTC-06:00) Central Time (US & Canada)-06:00:00Central Standard TimeCentral Daylight TimeTrue
(UTC-06:00) Easter Island-06:00:00Easter Island Standard TimeEaster Island Daylight TimeTrue
(UTC-06:00) Guadalajara, Mexico City, Monterrey-06:00:00Central Standard Time (Mexico)Central Daylight Time (Mexico)True
(UTC-06:00) Saskatchewan-06:00:00Canada Central Standard TimeCanada Central Daylight TimeFalse
(UTC-05:00) Bogota, Lima, Quito, Rio Branco-05:00:00SA Pacific Standard TimeSA Pacific Daylight TimeFalse
(UTC-05:00) Chetumal-05:00:00Eastern Standard Time (Mexico)Eastern Daylight Time (Mexico)True
(UTC-05:00) Eastern Time (US & Canada)-05:00:00Eastern Standard TimeEastern Daylight TimeTrue
(UTC-05:00) Haiti-05:00:00Haiti Standard TimeHaiti Daylight TimeTrue
(UTC-05:00) Havana-05:00:00Cuba Standard TimeCuba Daylight TimeTrue
(UTC-05:00) Indiana (East)-05:00:00US Eastern Standard TimeUS Eastern Daylight TimeTrue
(UTC-05:00) Turks and Caicos-05:00:00Turks and Caicos Standard TimeTurks and Caicos Daylight TimeTrue
(UTC-04:00) Asuncion-04:00:00Paraguay Standard TimeParaguay Daylight TimeTrue
(UTC-04:00) Atlantic Time (Canada)-04:00:00Atlantic Standard TimeAtlantic Daylight TimeTrue
(UTC-04:00) Caracas-04:00:00Venezuela Standard TimeVenezuela Daylight TimeTrue
(UTC-04:00) Cuiaba-04:00:00Central Brazilian Standard TimeCentral Brazilian Daylight TimeTrue
(UTC-04:00) Georgetown, La Paz, Manaus, San Juan-04:00:00SA Western Standard TimeSA Western Daylight TimeFalse
(UTC-04:00) Santiago-04:00:00Pacific SA Standard TimePacific SA Daylight TimeTrue
(UTC-03:30) Newfoundland-03:30:00Newfoundland Standard TimeNewfoundland Daylight TimeTrue
(UTC-03:00) Araguaina-03:00:00Tocantins Standard TimeTocantins Daylight TimeTrue
(UTC-03:00) Brasilia-03:00:00E. South America Standard TimeE. South America Daylight TimeTrue
(UTC-03:00) Cayenne, Fortaleza-03:00:00SA Eastern Standard TimeSA Eastern Daylight TimeFalse
(UTC-03:00) City of Buenos Aires-03:00:00Argentina Standard TimeArgentina Daylight TimeTrue
(UTC-03:00) Greenland-03:00:00Greenland Standard TimeGreenland Daylight TimeTrue
(UTC-03:00) Montevideo-03:00:00Montevideo Standard TimeMontevideo Daylight TimeTrue
(UTC-03:00) Punta Arenas-03:00:00Magallanes Standard TimeMagallanes Daylight TimeTrue
(UTC-03:00) Saint Pierre and Miquelon-03:00:00Saint Pierre Standard TimeSaint Pierre Daylight TimeTrue
(UTC-03:00) Salvador-03:00:00Bahia Standard TimeBahia Daylight TimeTrue
(UTC-02:00) Coordinated Universal Time-02-02:00:00UTC-02UTC-02False
(UTC-02:00) Mid-Atlantic - Old-02:00:00Mid-Atlantic Standard TimeMid-Atlantic Daylight TimeTrue
(UTC-01:00) Azores-01:00:00Azores Standard TimeAzores Daylight TimeTrue
(UTC-01:00) Cabo Verde Is.-01:00:00Cabo Verde Standard TimeCabo Verde Daylight TimeFalse
(UTC) Coordinated Universal Time00:00:00Coordinated Universal TimeCoordinated Universal TimeFalse
(UTC+00:00) Dublin, Edinburgh, Lisbon, London00:00:00GMT Standard TimeGMT Daylight TimeTrue
(UTC+00:00) Monrovia, Reykjavik00:00:00Greenwich Standard TimeGreenwich Daylight TimeFalse
(UTC+00:00) Sao Tome00:00:00Sao Tome Standard TimeSao Tome Daylight TimeTrue
(UTC+01:00) Casablanca00:00:00Morocco Standard TimeMorocco Daylight TimeTrue
(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna01:00:00W. Europe Standard TimeW. Europe Daylight TimeTrue
(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague01:00:00Central Europe Standard TimeCentral Europe Daylight TimeTrue
(UTC+01:00) Brussels, Copenhagen, Madrid, Paris01:00:00Romance Standard TimeRomance Daylight TimeTrue
(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb01:00:00Central European Standard TimeCentral European Daylight TimeTrue
(UTC+01:00) West Central Africa01:00:00W. Central Africa Standard TimeW. Central Africa Daylight TimeFalse
(UTC+02:00) Amman02:00:00Jordan Standard TimeJordan Daylight TimeTrue
(UTC+02:00) Athens, Bucharest02:00:00GTB Standard TimeGTB Daylight TimeTrue
(UTC+02:00) Beirut02:00:00Middle East Standard TimeMiddle East Daylight TimeTrue
(UTC+02:00) Cairo02:00:00Egypt Standard TimeEgypt Daylight TimeTrue
(UTC+02:00) Chisinau02:00:00E. Europe Standard TimeE. Europe Daylight TimeTrue
(UTC+02:00) Damascus02:00:00Syria Standard TimeSyria Daylight TimeTrue
(UTC+02:00) Gaza, Hebron02:00:00West Bank Gaza Standard TimeWest Bank Gaza Daylight TimeTrue
(UTC+02:00) Harare, Pretoria02:00:00South Africa Standard TimeSouth Africa Daylight TimeFalse
(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius02:00:00FLE Standard TimeFLE Daylight TimeTrue
(UTC+02:00) Jerusalem02:00:00Jerusalem Standard TimeJerusalem Daylight TimeTrue
(UTC+02:00) Kaliningrad02:00:00Russia TZ 1 Standard TimeRussia TZ 1 Daylight TimeTrue
(UTC+02:00) Khartoum02:00:00Sudan Standard TimeSudan Daylight TimeTrue
(UTC+02:00) Tripoli02:00:00Libya Standard TimeLibya Daylight TimeTrue
(UTC+02:00) Windhoek02:00:00Namibia Standard TimeNamibia Daylight TimeTrue
(UTC+03:00) Baghdad03:00:00Arabic Standard TimeArabic Daylight TimeTrue
(UTC+03:00) Istanbul03:00:00Turkey Standard TimeTurkey Daylight TimeTrue
(UTC+03:00) Kuwait, Riyadh03:00:00Arab Standard TimeArab Daylight TimeFalse
(UTC+03:00) Minsk03:00:00Belarus Standard TimeBelarus Daylight TimeTrue
(UTC+03:00) Moscow, St. Petersburg03:00:00Russia TZ 2 Standard TimeRussia TZ 2 Daylight TimeTrue
(UTC+03:00) Nairobi03:00:00E. Africa Standard TimeE. Africa Daylight TimeFalse
(UTC+03:30) Tehran03:30:00Iran Standard TimeIran Daylight TimeTrue
(UTC+04:00) Abu Dhabi, Muscat04:00:00Arabian Standard TimeArabian Daylight TimeFalse
(UTC+04:00) Astrakhan, Ulyanovsk04:00:00Astrakhan Standard TimeAstrakhan Daylight TimeTrue
(UTC+04:00) Baku04:00:00Azerbaijan Standard TimeAzerbaijan Daylight TimeTrue
(UTC+04:00) Izhevsk, Samara04:00:00Russia TZ 3 Standard TimeRussia TZ 3 Daylight TimeTrue
(UTC+04:00) Port Louis04:00:00Mauritius Standard TimeMauritius Daylight TimeTrue
(UTC+04:00) Saratov04:00:00Saratov Standard TimeSaratov Daylight TimeTrue
(UTC+04:00) Tbilisi04:00:00Georgian Standard TimeGeorgian Daylight TimeFalse
(UTC+04:00) Volgograd04:00:00Volgograd Standard TimeVolgograd Daylight TimeTrue
(UTC+04:00) Yerevan04:00:00Caucasus Standard TimeCaucasus Daylight TimeTrue
(UTC+04:30) Kabul04:30:00Afghanistan Standard TimeAfghanistan Daylight TimeFalse
(UTC+05:00) Ashgabat, Tashkent05:00:00West Asia Standard TimeWest Asia Daylight TimeFalse
(UTC+05:00) Ekaterinburg05:00:00Russia TZ 4 Standard TimeRussia TZ 4 Daylight TimeTrue
(UTC+05:00) Islamabad, Karachi05:00:00Pakistan Standard TimePakistan Daylight TimeTrue
(UTC+05:00) Qyzylorda05:00:00Qyzylorda Standard TimeQyzylorda Daylight TimeTrue
(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi05:30:00India Standard TimeIndia Daylight TimeFalse
(UTC+05:30) Sri Jayawardenepura05:30:00Sri Lanka Standard TimeSri Lanka Daylight TimeFalse
(UTC+05:45) Kathmandu05:45:00Nepal Standard TimeNepal Daylight TimeFalse
(UTC+06:00) Astana06:00:00Central Asia Standard TimeCentral Asia Daylight TimeFalse
(UTC+06:00) Dhaka06:00:00Bangladesh Standard TimeBangladesh Daylight TimeTrue
(UTC+06:00) Omsk06:00:00Omsk Standard TimeOmsk Daylight TimeTrue
(UTC+06:30) Yangon (Rangoon)06:30:00Myanmar Standard TimeMyanmar Daylight TimeFalse
(UTC+07:00) Bangkok, Hanoi, Jakarta07:00:00SE Asia Standard TimeSE Asia Daylight TimeFalse
(UTC+07:00) Barnaul, Gorno-Altaysk07:00:00Altai Standard TimeAltai Daylight TimeTrue
(UTC+07:00) Hovd07:00:00W. Mongolia Standard TimeW. Mongolia Daylight TimeTrue
(UTC+07:00) Krasnoyarsk07:00:00Russia TZ 6 Standard TimeRussia TZ 6 Daylight TimeTrue
(UTC+07:00) Novosibirsk07:00:00Novosibirsk Standard TimeNovosibirsk Daylight TimeTrue
(UTC+07:00) Tomsk07:00:00Tomsk Standard TimeTomsk Daylight TimeTrue
(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi08:00:00China Standard TimeChina Daylight TimeFalse
(UTC+08:00) Irkutsk08:00:00Russia TZ 7 Standard TimeRussia TZ 7 Daylight TimeTrue
(UTC+08:00) Kuala Lumpur, Singapore08:00:00Malay Peninsula Standard TimeMalay Peninsula Daylight TimeFalse
(UTC+08:00) Perth08:00:00W. Australia Standard TimeW. Australia Daylight TimeTrue
(UTC+08:00) Taipei08:00:00Taipei Standard TimeTaipei Daylight TimeFalse
(UTC+08:00) Ulaanbaatar08:00:00Ulaanbaatar Standard TimeUlaanbaatar Daylight TimeTrue
(UTC+08:45) Eucla08:45:00Aus Central W. Standard TimeAus Central W. Daylight TimeFalse
(UTC+09:00) Chita09:00:00Transbaikal Standard TimeTransbaikal Daylight TimeTrue
(UTC+09:00) Osaka, Sapporo, Tokyo09:00:00Tokyo Standard TimeTokyo Daylight TimeFalse
(UTC+09:00) Pyongyang09:00:00North Korea Standard TimeNorth Korea Daylight TimeTrue
(UTC+09:00) Seoul09:00:00Korea Standard TimeKorea Daylight TimeFalse
(UTC+09:00) Yakutsk09:00:00Russia TZ 8 Standard TimeRussia TZ 8 Daylight TimeTrue
(UTC+09:30) Adelaide09:30:00Cen. Australia Standard TimeCen. Australia Daylight TimeTrue
(UTC+09:30) Darwin09:30:00AUS Central Standard TimeAUS Central Daylight TimeFalse
(UTC+10:00) Brisbane10:00:00E. Australia Standard TimeE. Australia Daylight TimeFalse
(UTC+10:00) Canberra, Melbourne, Sydney10:00:00AUS Eastern Standard TimeAUS Eastern Daylight TimeTrue
(UTC+10:00) Guam, Port Moresby10:00:00West Pacific Standard TimeWest Pacific Daylight TimeFalse
(UTC+10:00) Hobart10:00:00Tasmania Standard TimeTasmania Daylight TimeTrue
(UTC+10:00) Vladivostok10:00:00Russia TZ 9 Standard TimeRussia TZ 9 Daylight TimeTrue
(UTC+10:30) Lord Howe Island10:30:00Lord Howe Standard TimeLord Howe Daylight TimeTrue
(UTC+11:00) Bougainville Island11:00:00Bougainville Standard TimeBougainville Daylight TimeTrue
(UTC+11:00) Chokurdakh11:00:00Russia TZ 10 Standard TimeRussia TZ 10 Daylight TimeTrue
(UTC+11:00) Magadan11:00:00Magadan Standard TimeMagadan Daylight TimeTrue
(UTC+11:00) Norfolk Island11:00:00Norfolk Standard TimeNorfolk Daylight TimeTrue
(UTC+11:00) Sakhalin11:00:00Sakhalin Standard TimeSakhalin Daylight TimeTrue
(UTC+11:00) Solomon Is., New Caledonia11:00:00Central Pacific Standard TimeCentral Pacific Daylight TimeFalse
(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky12:00:00Russia TZ 11 Standard TimeRussia TZ 11 Daylight TimeTrue
(UTC+12:00) Auckland, Wellington12:00:00New Zealand Standard TimeNew Zealand Daylight TimeTrue
(UTC+12:00) Coordinated Universal Time+1212:00:00UTC+12UTC+12False
(UTC+12:00) Fiji12:00:00Fiji Standard TimeFiji Daylight TimeTrue
(UTC+12:00) Petropavlovsk-Kamchatsky - Old12:00:00Kamchatka Standard TimeKamchatka Daylight TimeTrue
(UTC+12:45) Chatham Islands12:45:00Chatham Islands Standard TimeChatham Islands Daylight TimeTrue
(UTC+13:00) Coordinated Universal Time+1313:00:00UTC+13UTC+13False
(UTC+13:00) Nuku'alofa13:00:00Tonga Standard TimeTonga Daylight TimeTrue
(UTC+13:00) Samoa13:00:00Samoa Standard TimeSamoa Daylight TimeTrue
(UTC+14:00) Kiritimati Island14:00:00Line Islands Standard TimeLine Islands Daylight TimeFalse

How Do I Enumerate All Timezones in .NET?

Use this code retirnve all the Timezones in .Net programatically.

ReadOnlyCollection<TimeZoneInfo> tz;
tz = TimeZoneInfo.GetSystemTimeZones();
StringBuilder sb = new StringBuilder();

foreach (TimeZoneInfo tzi in tz)
{
    sb.AppendLine(tzi.DisplayName + " " + tzi.BaseUtcOffset + " " + tzi.StandardName + " " + tzi.DaylightName + " " + tzi.SupportsDaylightSavingTime);
}

string codes = sb.ToString();
// do what you want with the output, e.g. save it to a file

This method is used to bind all timezones in Dev express Drop Down.

private void FillTimeZone(ASPxComboBox ddlTimeZone)
{   
   ddlTimeZone.DataSource = TimeZoneInfo.GetSystemTimeZones();   
   ddlTimeZone.DataBind();  
   ListEditItem oListEditItem=new ListEditItem();   
   oListEditItem.Text=Helper.SELECT;   
   oListEditItem.Value=Helper.SELECT;   
   ddlTimeZone.Items.Add(oListEditItem);   
   ddlTimeZone.SelectedIndex = 0;
}

If you want to return a JSON output from a WebAPI call:

using System;
using System.Collections.Generic;

namespace MyProject.ViewModels
{
    public class TimeZoneViewModel
    {
        public readonly List<CTimeZone> CTimeZones;

        public TimeZoneViewModel()
        {
            CTimeZones = new List<CTimeZone>();
            foreach (TimeZoneInfo z in TimeZoneInfo.GetSystemTimeZones())
            {
                var tz = new CTimeZone(z.Id, z.DisplayName, z.BaseUtcOffset);
                CTimeZones.Add(tz);
            }
        }

    }

    public class CTimeZone
    {
        public string Id { get; set; }
        public string DisplayName { get; set; }
        public TimeSpan BaseUtcOffset { get; set; }

        public CTimeZone(string id, string displayName, TimeSpan utcOffset)
        {
            Id = id;
            DisplayName = displayName;
            BaseUtcOffset = utcOffset;
        }
    }
}

Then use it in WebAPI:

[HttpGet("Api/TimeZones")]
public JsonResult GetTimeZones()
{
    return Json(new TimeZoneViewModel().CTimeZones);
}

Output:

[{
    "id": "Dateline Standard Time",
    "displayName": "(UTC-12:00) International Date Line West",
    "baseUtcOffset": "-12:00:00"
  },
  {
    "id": "UTC-11",
    "displayName": "(UTC-11:00) Coordinated Universal Time-11",
    "baseUtcOffset": "-11:00:00"
  },
  {
    "id": "Aleutian Standard Time",
    "displayName": "(UTC-10:00) Aleutian Islands",
    "baseUtcOffset": "-10:00:00"
  },
  {
    "id": "Hawaiian Standard Time",
    "displayName": "(UTC-10:00) Hawaii",
    "baseUtcOffset": "-10:00:00"
  },...

Leave a Reply

Fields marked with * are mandatory.

We respect your privacy, and will not make your email public. Hashed email address may be checked against Gravatar service to retrieve avatars. This site uses Akismet to reduce spam. Learn how your comment data is processed.