Show Date outside of defined MinDate MaxDate restrictions

Viewed 770

I have googled and tried to find out, but was unable to get a solution on this problem. On page load I am Restricting datePicker with following min and max values:

$("#<%=txtboxDate.ClientID%>").datepicker({ 
minDate: new Date(2017, 2, 21),
 maxDate: new Date(2023, 07, 11) });

But I also have data before 2017-2-21 <-(format of date given is yyyy-mm-dd) Such as datePicker takes this format mm/dd/yy. So the date it receives is '2/1/2017'. It is out of minDate restriction.

How can I show these kind of dates or just this date 2/1/2017 on datePicker calender with same defined restrictions above jquery?

3 Answers
Related