2010.3.1109.40
I created a non recurring appointment on March 1 2011 with a start date and time of March 16 2011 at 11am. After it was created it showed in the scheduler correctly as11am. However, now that March 16th has come the appointment is shown in the scheduler as starting at noon (1hr ahead of what its suppose to start on). In the database its stored as "2011-03-15 19:00:00.000", my server time zone is PST (Pacific Standard Time). I have created my scheduler and data access as outlined here and have a load event as shown below. Please advise on how to get my events to show properly, its much more than just this event and this is a problem in production right now.
I created a non recurring appointment on March 1 2011 with a start date and time of March 16 2011 at 11am. After it was created it showed in the scheduler correctly as11am. However, now that March 16th has come the appointment is shown in the scheduler as starting at noon (1hr ahead of what its suppose to start on). In the database its stored as "2011-03-15 19:00:00.000", my server time zone is PST (Pacific Standard Time). I have created my scheduler and data access as outlined here and have a load event as shown below. Please advise on how to get my events to show properly, its much more than just this event and this is a problem in production right now.
protected
void
RadScheduler1_Load(
object
sender, EventArgs e)
{
TimeZone localZone = TimeZone.CurrentTimeZone;
TimeSpan currentOffset = localZone.GetUtcOffset(DateTime.Today);
this
.RadScheduler1.TimeZoneOffset = currentOffset;
}