Bootstrap datepicker mindate today

Bootstrap Datepicker MinDate Today

To set the minimum date of the Bootstrap datepicker to today, you can use the following code:

$('#datepicker').datepicker({
    minDate: 0
});

This code sets the minimum date to the current date, ensuring that users cannot select a date before today.