bootstrap datepicker data-date-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
<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>
Example 3: bootstrap datepicker format
<input type="text" class="form-control" value="02-16-2012">