datepicker in bootstrap \ 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'
});