datepicker documentation 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: download datepicker js
$('#datepicker').datepicker('show');