Ignore timezone settings

2 posts, 0 answers
  1. AMF
    AMF avatar
    34 posts
    Member since:
    Mar 2011

    Posted 10 Apr 2012 Link to this post

    Hi all,

    I would like to Ignore the timezone settings on the computer and in the RadScheduler. I know how to disable the drop down in the scheduler navigator. But I cant figure out how to disable time zone settings. For some kind of weird reason the scheduler ignores my default time zone (Windows settings). When I run the same program on an other computer it seems to work fine. When I change my timezone the settings, the scheduler keeps using other timezone settings. 

    Well I don't need timezone support. I just want the times in my database to be used as appointment times, and ignore all timezone settings.

    Is there a way I can achieve this?

  2. Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 12 Apr 2012 Link to this post


    Thank you for your question.

    There are two properties that stand for manipulating timezones. The first one is the SystemTimeZone property. All appointments are loaded and saved according to this timezone. This means that when you load some appointments from the database, they will be loaded as if the times from the database were in the SystemTimeZone. The default value of the SystemTimeZone property is set with the timezone of the local machine.

    The other one is a property of all scheduler views and is called DefaultTimeZone. It indicates the time zone of the view and all appointments that are displayed in that view will be offset with the difference between the DefaultTimeZone and the SystemTimeZone. The DefaultTimeZone is also set by default with the time zone of the local machine.

    This means that if you have not set any of these properties anywhere in your project, then you should have "no timezone support" i.e. the dates and times from the database should be displayed as they are. You might find some useful information in the corresponding help article.

    If you continue to experience difficulties, you can open a new support ticket and send a sample project which demonstrates your scenario. This will let us investigate in detail and provide you with a specific solution.

    All the best,
    Ivan Todorov
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
  3. DevCraft banner
Back to Top