bootstrap datepicker mindate and maxdate

Bootstrap Datepicker MinDate and MaxDate

To set the minimum and maximum date in Bootstrap Datepicker, you can use the startDate and endDate options. Here's an example:

$('#datepicker').datepicker({
    startDate: '01/01/2023',
    endDate: '12/31/2023'
});

In this example, the startDate option sets the minimum date to '01/01/2023', and the endDate option sets the maximum date to '12/31/2023'. You can customize the dates according to your requirements.