Given a string of "EST", is there a way in .net (c#) to look up the standard name string like "Eastern Standard Time" in return? I know that TimeZoneInfo object has the StandardName field, but I cannot associate it with just the abbreviation.
I would hope to strictly do the look up in .net without accessing external web services.
Best How To :
Given a string of "EST", is there a way in .net to look up the standard name string like "Eastern Standard Time" in return?
In .Net Framework, no. There is no upon standard to abbreviating time zone names. Hard to make one as well.
For example, CST can be represent;
- China Standard Time
- Central Standard Time (North America)
- Central Standard Time (Australia)
- Central Summer Time (Australia) (uses 3 time zones but..)
As far as I know, NodaTime both support Windows time zone and IANA/Olson time zone mapping. Also Matt Johnson created TimeZoneNames which is for preventing ambiguous time zone names and theirs localized names. You may wanna check these options.