I'm wondering there is no way to convert a date and time of a timezone to another!! I've got numerous examples about timezone conversions and all are on non WP SDK. Amazingly TimeZoneInfo class of namespace System of WP SDK has no method for FindSystemTimeZoneById().
Here Converting time between Timezones and How to convert a datetime to specific timezone in c#? are very nice examples of converting timezones on .net except WP SDK. Suppose a scenario, I have a time in W. Australia Standard Time, now I need to convert that time to Eastern Standard Time. Normally I would do that like this :
string timeZoneStringOne = "W. Australia Standard Time";
TimeZoneInfo timeZoneIDOne = TimeZoneInfo.FindSystemTimeZoneById(timeZoneStringOne);
string timeZoneStringTwo = "Eastern Standard Time";
TimeZoneInfo timeZoneIDTwo = TimeZoneInfo.FindSystemTimeZoneById(timeZoneStringTwo);
DateTime dt = new DateTime(2010, 02, 08, 05, 00, 00);
DateTimeOffset dtOffset1 = new DateTimeOffset(dt, timeZoneIDOne.GetUtcOffset(dt));
Console.WriteLine(dtOffset1);
DateTimeOffset dtOffset2 = TimeZoneInfo.ConvertTime(dtOffset1, timeZoneIDTwo);
Console.WriteLine(dtOffset2);
DateTimeOffset dtOffset3 = TimeZoneInfo.ConvertTime(dtOffset2, timeZoneIDOne);
Console.WriteLine(dtOffset3);
Console.ReadKey();
/*
Output :
2/8/2010 5:00:00 AM +08:00
2/7/2010 4:00:00 PM -05:00
2/8/2010 5:00:00 AM +08:00
*/
But how can I do it on windows phone 8 ???