bootstrap datepicler code example
Example 1: date picker for bootstrap 4
$('.datepicker').datepicker({
format: 'mm/dd/yyyy',
startDate: '-3d'
});
Example 2: date picker for bootstrap 4
<div class="input-group date" data-provide="datepicker">
<input type="text" class="form-control">
<div class="input-group-addon">
<span class="glyphicon glyphicon-th"></span>
</div>
</div>