Go to home page mail me! RSS Feed
FoxMetrics Web Analytics

Get a list of all time zones

Sunday, October 17, 2010 12:38 PM

The following loop will give you access to a list of all time zones on the local system machine.

foreach (TimeZoneInfo tzi in TimeZoneInfo.GetSystemTimeZones())
{
     // Do stuff with tzi here
}
DotNetKicks Image

Your Comments.

No comments posted yet.

Your Reply.

Comment Form.

Fields denoted with a "*" are required.

You may also like to leave your email or website.

 
Please add 2 and 7 and type the answer here:

Preview Your Comment.

 
Next entries »