minDate : Date|String|FunctionDefault: undefined

The minimum selectable date. When not set, there is no minimum

Examples

Today

    
 <input id="datepicker" width="312" />
 <script>
    var today, datepicker;
    today = new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate());
    datepicker = $('#datepicker').datepicker({
        minDate: today
    });
 </script>

  

Yesterday

    
 <input id="datepicker" width="312" />
 <script>
     $('#datepicker').datepicker({
        minDate: function() {
            var date = new Date();
            date.setDate(date.getDate()-1);
            return new Date(date.getFullYear(), date.getMonth(), date.getDate());
        }
     });
 </script>

  

Bootstrap

    
 <input id="datepicker" width="312" />
 <script>
     $('#datepicker').datepicker({
        value: '12/15/2017',
        minDate: '12/12/2017',
        uiLibrary: 'bootstrap'
     });
 </script>

  

Bootstrap 4

    
 <input id="datepicker" width="312" />
 <script>
     $('#datepicker').datepicker({
        minDate: '12/12/2017',
        uiLibrary: 'bootstrap4',
        iconsLibrary: 'fontawesome'
     });
 </script>