I\'ve got an odd problem I can\'t seem to resolve. When I call TimeZoneInfo.GetSystemTimeZones
on my Win 7 x64 machine I get 101 results. When I call TimeZone
TimeZoneInfo.FindSystemTimeZoneById method accepts the time zone id as parameter. You're using timeZoneInfo.StandardName
instead.
It seems, that for these 3 zones values for TimeZoneInfo.StandardName and TimeZoneInfo.Id properties are different. Using this:
TimeZoneInfo.FindSystemTimeZoneById(timeZoneInfo.Id);
will solve the issue.