Get Time Zones list in c#
C#TimezoneC# Problem Overview
> Possible Duplicate:
> How do I enumerate all time zones in .NET?
How can I get the list of time zones with c#?
C# Solutions
Solution 1 - C#
ReadOnlyCollection<TimeZoneInfo> tz;
tz= TimeZoneInfo.GetSystemTimeZones();
Keep in mind that this returns a http://msdn.microsoft.com/en-us/library/ms132474.aspx">ReadOnlyCollection(T)</a>
You can also learn how to populate a list with those timezones here"">http://msdn.microsoft.com/en-us/library/ms171251(v=sql.90).aspx">here</a>;.
Solution 2 - C#
You can use TimeZoneInfo.GetSystemTimeZones()
.
Solution 3 - C#
TimeZoneInfo.GetSystemTimeZones()