bootstrap datepicker set min and max date

Setting Min and Max Date in Bootstrap Datepicker

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

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

Replace #datepicker with the ID of your datepicker input, and adjust the date values as needed.

[[SOURCE 1]]