How to increase year range in Hijri DateTimePicker


  • In my windows application, I have a DateTimePicker to insert a Hijri date into the database. But, the DateTimePicker doesn't allow dates of more than '29-12-1450'.

    How can I expand the year range of DateTimePicker for the Hijri calendar?

    Tuesday, March 28, 2017 2:28 PM

All replies


    After that I did a search with Google


    Tuesday, March 28, 2017 5:00 PM
  • Hi eng.bassel,

    Based on your description, the DateTimePicker don’t allow date to be greater than ’29-12-1450’, please check DateTimePicker.MaxDate if this value is greater than ’29-12-1450’.
    More detailed info, please refer to DateTimePicker class.

    Best Regards,
    Cherry Bu

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Wednesday, March 29, 2017 5:10 AM