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

Timezone clarification

1 Answer 163 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 2
Chris asked on 25 Jan 2014, 06:05 PM
I have a product where the users of the application are in different timezones and need to display scheduled entered by that user to other user's timezone.  I currently have the scheduler's timezone configured to "Etc/UTC".

The dates saved to the SQL database always equal the dates entered into the scheduler, regardless of the browser's or server's timezone.  It doesn't make sense to me if the incoming time is in UTC time or what???

How am I to convert the times to the appropriate timezone?  I do know what timezone the user is in, as it is part of the user's profile and its not dependent on the browser.


Thanks,
Chris

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 29 Jan 2014, 07:48 AM
Hi Chris,

The timezone option It is used to tell the scheduler in what timezone the scheduler events are created and stored on the server. If the timezone is not set the scheduler will use the current browser timezone. This means that users with different timezone settings will see different start and end times. Setting the timezone of the scheduler would make it display the same start and end times regardless of the current user timezone.

Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Scheduler
Asked by
Chris
Top achievements
Rank 2
Answers by
Atanas Korchev
Telerik team
Share this question
or