0👍
As the guide which introduces options for bootstrap-datetimepicker, uses option property=minDate and maxDate to limit min/max date for initial.
So your new datepickoptions will be like:
datepickoptions: {
format: 'DD/MM/YYYY',
useCurrent: false,
locale: 'pt-br',
minDate: '2018-10-09', // min date value
maxDate: '2018-10-29' // max date value
},
Check this fiddle
Source:stackexchange.com