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

RadScheduler timezone offset with web service binding

3 Answers 187 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Joe Buckle
Top achievements
Rank 1
Joe Buckle asked on 21 Apr 2010, 08:09 PM
Good day!

Before, I was binding a scheduler through code behind. With the timezoneoffset set to zero, for example, an appointment that is saved in the database as 8:00 AM shows up correctly. When I decided to use web service binding, the appointment shows up at 12:00 AM. Why is this so?

Thanks,

3 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 23 Apr 2010, 03:22 PM
Hello Joe,

Please, make sure that the dates that are returned from your provider are in Utc. Calling SpecifyKind on them should to the trick:

apt.Start = DateTime.SpecifyKind(start, DateTimeKind.Utc);

I hope this helps.

Best wishes,
Tsvetomir Tsonev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Joe Buckle
Top achievements
Rank 1
answered on 25 Apr 2010, 02:29 AM
Thanks! This has solved the issues I got. :)
0
Palani
Top achievements
Rank 1
answered on 20 Oct 2012, 07:18 AM
That is worked ... Thanks!
Tags
Scheduler
Asked by
Joe Buckle
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Joe Buckle
Top achievements
Rank 1
Palani
Top achievements
Rank 1
Share this question
or