設定日期選擇器的最小和最大日期

<script>
$( ".inclas").datepicker({
  minDate: new Date(2007, 1 - 1, 1)
  maxDate: new Date(2008, 1 - 1, 1)
});
</script>

<input type ="text" id="datepick" class="inclas">