http://msdn.microsoft.com/en-us/library/system.windows.forms.datetimepicker.maxdate.aspx http://msdn.microsoft.com/en-us/library/system.windows.forms.datetimepicker.maxdatetime.aspx
This value seems arbitrary when no explanation is provided. Why isn't this just DateTime.MaxValue?
There probably isn't a business reason. I don't think it's a coincidence that the value is exactly one year prior to DateTime.MaxValue
. The DateTimePicker may have some internal logic that paginates the adjacent months that breaks near DateTime.MaxValue
that wasn't worth special casing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With