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.
Unfortunately, activation email could not send to your email. Please try again.

Time zone in Clock control

Thread ID:





93419 Mar 12,2010 01:40 AM Mar 15,2010 01:56 AM WPF 1
Tags: Tools
Asked On March 12, 2010 01:40 AM

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

Arun Pradeep K [Syncfusion]
Replied On March 15, 2010 01:56 AM


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.

Arun Pradeep K


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.