bootstrap 4 datepicker format code example
Example 1: date picker for bootstrap 4
<input class="datepicker" data-date-format="mm/dd/yyyy">
Example 2: date picker for bootstrap 4
$('.datepicker').datepicker({
format: 'mm/dd/yyyy',
startDate: '-3d'
});
Example 3: bootstrap datepicker format
<input type="text" class="form-control" value="02-16-2012">