0

I want to change the System time Zone on changing the time Zone selected by user in my Application.

 DropDownList2.DataSource = TimeZoneInfo.GetSystemTimeZones();
 DropDownList2.DataBind();

How can I change it?

Govind Malviya
  • 13,627
  • 17
  • 68
  • 94
Manish
  • 87
  • 1
  • 15

1 Answers1

0

Have a look at this question. Hope this helps.

Community
  • 1
  • 1
FIre Panda
  • 6,537
  • 2
  • 25
  • 38
  • i place a label where current time shows.there is another drop down list where all the system time zone shows. i want that the time on label changes automatically to corresponds time zone. how is it possible? – Manish May 04 '11 at 09:51
  • Are you having winform application or a asp.net website? – FIre Panda May 04 '11 at 09:57
  • Its in Web site. Actually i want to make further a module in DNN That Contains the Time zone Functionality. – Manish May 04 '11 at 10:03
  • Does changing the value in dropdown sends the postback? – FIre Panda May 04 '11 at 10:11
  • Have a look at http://staceyw1.wordpress.com/2006/08/31/convert-local-time-to-timezone/ and http://msdn.microsoft.com/en-us/library/bb397769.aspx – FIre Panda May 04 '11 at 10:18