Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing Microsoft time zones

Tags:

timezone

c#

.net

I'm looking at using the Microsoft time zones (by utilising the System.TimeZoneInfo class in C#) to convert stored UTC dates to local timezone dates and vice versa.

However, I've noticed that this isn't a comprehensive list. For example, it currently only has one timezone defined for Greenland (Greenland Standard Time (GMT-03:00) Greenland), where wikipedia and timeanddate both show there are 2 major time zones in use (eastern and western) as well as 2 lesser used ones.

Is there a comprehensive list anywhere of missing timezones?

like image 830
Taran Avatar asked Jan 24 '26 10:01

Taran


1 Answers

The conversion data between Windows time zone IDs and IANA time zone IDs is available via CLDR.

Looking at the data (and at the raw IANA data in Github) it looks like the IANA time zones in question are:

  • "America/Godthab" (West Greenland)
  • "America/Scoresbysund" (East Greenland)

Those have corresponding Windows time zone IDs of:

  • "Greenland Standard Time" (West Greenland)
  • "Azores Standard Time" (um, not really East Greenland - read on)

Obviously the Azores and East Greenland are quite a long way apart - but it turns out they follow the same time zone rules, which is presumably why Microsoft has lumped them under a single time zone.

Basically, if you want to find the time in East Greenland for "America/Scoresbysund", then "Azores Standard Time" is your closest bet.

like image 60
Jon Skeet Avatar answered Jan 26 '26 23:01

Jon Skeet



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!