bootstrap datepicker plugin

Tuesday 27th, Dec, 2016 | #HTML 5 #Plugins #UI #Bootstrap

Bootstrap-datepicker provides a flexible datepicker widget in the Bootstrap style.

A date picker, popup calendar, date and time picker, or time picker is a graphical user interface widget which allows the user to select a date from a calendar and/or time from a time range. The typical practice is to provide a text box field which, when clicked upon to enter a date, pops up a calendar next to or below the field, allowing the user to populate the field with an appropriate date, or provides a text box with an icon of a calendar such that when the icon is clicked on, the calendar (or time field) appears.

Usage by Javascript

$('.datepicker').datepicker();

Configuration

$('.datepicker').datepicker({ format: 'mm/dd/yyyy', startDate: '-3d' });

See the Pen Bootstrap Datepicker by Sreekanth Are (@srees) on CodePen.