Hello,
I have a Silverlight application in which I need to use the DateTimePicker. Based on the user's settings, the user may want to choose/view the selected time in either their local time, or UTC time. My question is, how do I toggle between the two? The value is always stored in the database in UTC format. It seems that the DateTimePicker always shows the time local to the user. However, sometimes I want to display it as a locally converted value, and sometimes, I want it in UTC.
Can somebody please help me with this?
Thank you!
I have a Silverlight application in which I need to use the DateTimePicker. Based on the user's settings, the user may want to choose/view the selected time in either their local time, or UTC time. My question is, how do I toggle between the two? The value is always stored in the database in UTC format. It seems that the DateTimePicker always shows the time local to the user. However, sometimes I want to display it as a locally converted value, and sometimes, I want it in UTC.
Can somebody please help me with this?
Thank you!