bootstrap datepicker options

Bootstrap Datepicker Options

$('#datepicker').datepicker({
    format: 'mm/dd/yyyy',
    autoclose: true,
    todayHighlight: true
});

Replace #datepicker with the ID of your input field. The format option is used to set the date format. The autoclose option allows the datepicker to close when a date is selected. The todayHighlight option highlights today's date.