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

Date picker selection issue

3 Answers 90 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Rabie
Top achievements
Rank 1
Rabie asked on 22 Mar 2012, 09:32 AM
Recently I faced a problem with the date pick which was I couldn't select the date 25 Mar 2012!
Each time I select the mentioned date the control selects 24 Mar 2012!!

You may check it on the telerik demo at http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/custompopup/defaultcs.aspx 

Any idea how to fix this?

Thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 22 Mar 2012, 10:20 AM
Hello Rabie,

I have tried reproducing the issue at my end with the demo and in the application but no avail.

Referring to this forum thread: It was due to Daylight Saving Time. There was a lot of written in the forums, you could search to find the discussions from last year.

In short when you select 30 March 2012 00:00:00. It turns back to 29 March 2012 23:00:00. Which is the previous day. And this happens because due to the DST the 30 March 2012 00.00.00 actually does not exist as time. In given region two seconds after 29 March 2012 22:59:59 the time is 30 March 2012 00:00:01.
 
Thanks,
Princy.
0
Rabie
Top achievements
Rank 1
answered on 22 Mar 2012, 11:01 AM
Thank you Princy that helped :-)
In my country we have daylight saving and it begins on 25 March!
When I unchecked the Automatically adjust clock for Daylight Saving Time from the Time Zone settings and refreshed the page, the date picker worked and I was able to select 25 March as a date.
0
Jaye
Top achievements
Rank 1
answered on 16 Jun 2012, 05:49 PM
I found reading your issue very similar to mine. I can pick the last day of June and input information but when I get the message saved successfully nothing shows up on the 30th of June. Anybody get that type of issue or have any ideas?
Tags
Calendar
Asked by
Rabie
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Rabie
Top achievements
Rank 1
Jaye
Top achievements
Rank 1
Share this question
or