In the demos, 1/15/12 displays a validation error while 1/15/2012 is valid.
How can I make the DatePicker accept 2 and 4 digit years?
Thanks,
Nick
1 Answer, 1 is accepted
0
Iliana Dyankova
Telerik team
answered on 06 Apr 2012, 11:28 AM
Hi Nick,
Just a quick clarification - DateTimePicker component supports only one format at the time. In other words if you define "MM/dd/yyyy" format then two digits year is not allowed, as if the format is "MM/dd/yy" then the four digits year is not allowed.
Regards,
Iliana Nikolova
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.