We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

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.
Live Chat Icon For mobile
Up arrow icon