Use an attribute minDate
for your code like this
<script>
$(document).ready(function(){
$( "#sDate , #eDate" ).datepicker({
dateFormat: 'yy-mm-dd',
showOn: "button",
buttonImage: "images/calendar.gif",
buttonImageOnly: true,
minDate: new Date(2015, 6, 29)
});
});
</script>
Where 2015 is the year, 6 is the month, and 29 is the date. Date before 06/29/2015 will be disabled.
Note. Assuming the datepicker used is the jQuery datepicker.
Tatha
source
to share