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

Defaulting to 1900s instead of 2000s

2 Answers 48 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 31 Mar 2015, 04:41 AM
Hi. When I type in 29.10.38 into radcalendar and tab out it is assuming I mean 29 Oct 1938. But i mean 29 Oct 2038. How can I fix this?

Thanks
Chris

2 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 31 Mar 2015, 03:12 PM
Hello Chris,

This can be done by changing the value of the ShortYearCenturyEnd property of RadDateInput. The default is 2029, you could set it for example 1940. Then years from 40 to 99 will be 1840-1899. And the years from 1 - 40 will be 1901 - 1940.

Regards,
Vasil
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Chris
Top achievements
Rank 1
answered on 31 Mar 2015, 10:57 PM
Great. So for my situation i set ShortYearCenturyEnd = 2099.

Thanks.
Tags
Calendar
Asked by
Chris
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Chris
Top achievements
Rank 1
Share this question
or