The Date Range Picker is attached to a text input. It will use the current value of the input to initialize, and update the input if new dates are chosen.
The Date Range Picker can also be used to select times. Hour, minute and (optional) second dropdowns are added below the calendars. An option exists to set the increment count of the minutes dropdown to e.g. offer only 15-minute or 30-minute increments.
Use 24-hour instead of 12-hour times, removing the AM/PM selection. Show seconds in the timePicker
The Date Range Picker can be turned into a single date picker widget with only one calendar. In this example, dropdowns to select a month and year have also been enabled at the top of the calendar to quickly jump to different months.
Hide the apply and cancel buttons, and automatically apply a new date range as soon as two dates or a predefined range is selected
When enabled, the two calendars displayed will always be for two sequential months (i.e. January and February), and both will be advanced when clicking the left or right arrows above the calendars. When disabled, the two calendars can be individually advanced and display any month/year.
When enabled, the two calendars displayed will always be for two sequential months (i.e. January and February), and both will be advanced when clicking the left or right arrows above the calendars. When disabled, the two calendars can be individually advanced and display any month/year.
The maximum span between the selected start and end dates
Show year and month select boxes above calendars to jump to a specific month and year
Show localized week numbers at the start of each week on the calendars
Set predefined date ranges the user can select from. Each key is the label for the range, and its value an array with two dates representing the bounds of the range
Normally, if you use the ranges option to specify pre-defined date ranges, calendars for choosing a custom date range are not shown until the user clicks "Custom Range". When this option is set to true, the calendars for choosing a custom date range are always shown instead.
Allows you to provide localized strings for buttons and labels, customize the date display format, and change the first day of week for the calendars.
Whether the picker appears aligned to the left, to the right, or centered under the HTML element it's attached to.
Whether the picker appears below (default) or above the HTML element it's attached to.
CSS class names that will be added to all buttons in the picker.
Pick-A-Date Picker
Pickadate.js is a mobile-friendly, responsive, and lightweight jQuery date & time input picker.