The basic setup requires targetting an input
element and invoking the picker.
Use .pickadate
class for basic Pick-A-Date Picker.
Setformat
attribute for basic change format of date.
Use .pickadate-limits
class for min. and max. date range.
Use .pickadate-translations
class for language translation.
Use .pickadate-short-string
class for short Month & Week String.
Use .pickadate-firstday
class to change first weekday to Monday.
Use .pickadate-months-year
class for display select menus to pick the month & year.
Use .pickadate-disable
class for disabled dates or weeks. (such as all Sun.1th day of week and 1st and 3rd Sat.).
Use .pickatime
class for basic Pick-a-Time Picker.
Use .pickatime-format
class to change time display formats.
Use .pickatime-formatlabel
class to display time label format.
Use .pickatime-intervals
class to display time in Intervals.
Use .pickatime-disable
class to disable time hours.
Use .pickatime-min-max
class for Start Time & End Time.
The Date Range Picker can be attached to any webpage element to pop up two calendars for selecting dates, times, or predefined ranges like "Last 30 Days".
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 in the calendars.
The Date Range Picker can be turned into a single date picker widget with only one calendar.
Use 24-hour instead of 12-hour times, removing the AM/PM selection. Show seconds in the timePicker.
To set datepicker input default empty.
Set predefined date ranges the user can select from.
Hide the apply and cancel buttons, and automatically apply a new date range.
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.
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.