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