Is there a way that I can use a Time Zone abbreviation (PST, EDT, GMT, etc) and turn it into the current time with C# on WP7?
I would assume I could use something like TimeZoneInfo to find the offset, but how do actually get the offset from the abbreviation, or alternatively from the full time zone name (gotten by mapping the abbreviations to the full names)?
I would suggest putting the table in config or as config type file rather than raw code as some Abbreviations can be duplicated in different parts of the world. That mean additions and changes can be done without the need to recompile release a new version.
Use TimeZoneInfo.Id that's what it's there for.
This is what I'm using:
I hope this isn't too much copy, but based on the solution above, here is the above implemented
No, that's not going to fly. There is no agreed-upon standard to abbreviating time zone names. Hard to make one too, the common abbreviation for China Standard Time and Central Standard Time, CST, will probably be ambiguous forever. Check this list of common abbreviations.
On top of which Windows Phone doesn't have the time zone database that Windows has (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones). You'll have to make your own.