If you need a list of time zones for your user to pick from, you probably want a dropdown list. Then you just need a list of time zones to bind to the dropdown list. Unfortunately, the System.TimeZone class doesn’t provide us with such a list and there is actually no where in the .NET Framework you will find it. It is very strange and also annoying because we are getting pretty used to find almost everything we need in the framework.

This means that we have to create the dropdown list our selves, which is a pretty trivial job. I took me a while to do some time ago. You can download the populated dropdown list below.

Download

timezones.txt (2,6 KB)

Comments


Comments are closed