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

Datetime picker is loosing milliseconds when changing the date

1 Answer 623 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 14 Nov 2012, 03:34 PM
When I have a date time with milliseconds, the milliseconds will always be set to 0 if you change the date with the calandar while the hours, minutes and seconds remains the same.

Am I the only one dealing with this issue?

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 15 Nov 2012, 03:25 PM
Hello Simon,

 
The DateTimePicker (as other pickers) parses the input value on blur, which in the default case does not have milliseconds. Hence the milliseconds are lost, the seconds too. If you need to persist the milliseconds then you will need to modify the format. Check this jsBin for more information.

Regards,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Date/Time Pickers
Asked by
Simon
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or