This is a migrated thread and some comments may be shown as answers.

Ignore timezone settings

1 Answer 126 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
AMF
Top achievements
Rank 2
AMF asked on 10 Apr 2012, 03:27 PM
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?

Greetings

1 Answer, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 12 Apr 2012, 04:00 PM
Hello,

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 >>
Tags
Scheduler and Reminder
Asked by
AMF
Top achievements
Rank 2
Answers by
Ivan Todorov
Telerik team
Share this question
or