datepicker bootstrap 4 format date time code example
Example: date picker for bootstrap 4
$('.datepicker').datepicker({
format: 'mm/dd/yyyy',
startDate: '-3d'
});
$('.datepicker').datepicker({
format: 'mm/dd/yyyy',
startDate: '-3d'
});