There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
GetAbbreviation() function not working
I was attempting to return the time zone abbreviation for the "America/Phoenix" time zone in VB.NET using the following code:
Dim abbrev as String
abbrev = PublicDomain.TzTimeZone.GetTimeZone("America/Phoenix").GetAbbreviation
However this code will return an abbreviation of "America/Phoenix" instead of "MST" as expected. I also noticed that this problem occurrs for the following time zone olson time zones: America/Anguilla, America/Aruba, America/Regina, America/Swift_Current, and Pacific/Honolulu. I was wondering if anyone has any suggestion as to how to resolve this issue.