Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Bootstrap datepicker mindate

 $('#yourInputId').datepicker({
                    startDate: new Date(),
                    format: 'dd/mm/yyyy', //you can change date format to any
                    autoclose: true,
 					todayHighlight: true,
 					startDate: new Date(), //this will be today's date
 					endDate: new Date(new Date().setDate(new Date().getDate() + 5))
                });
 
PREVIOUS NEXT
Tagged: #Bootstrap #datepicker #mindate
ADD COMMENT
Topic
Name
6+2 =