Time zone in Clock control

Can I add a time zone combobox in the clock control?

1 Reply

AP Arun Pradeep K Syncfusion Team March 15, 2010 05:56 AM UTC

Hi,

You cannot add a timezone combobox inside the control, but you can host outside the control, and can change the timezone of the clock when needed.

Below is the code snippet, where you can change the clock timezone dynamically.

clock1.DateTime = TimeZoneInfo.ConvertTime(DateTime.Now, TimeZoneInfo.Local, TimeZoneInfo.FindSystemTimeZoneById("GMT Standard Time"));

Please let me know if you have any other queries.

Regards,
Arun Pradeep K

Loader.
Up arrow icon