DateTimePicker configuration
Configuration for the DatePicker
nameOfDays is the configuration for name of days in a week.firstDayOfWeek is the first day of the week.allowYearNavigation show/hide year navigation button.earliestDate if given, dates before this cannot be selectedConfiguration for TimePicker
timePickerType is the type of the time picker, either Analog or DigitalConfiguration for name of days in a week.
This will be displayed as the calendar's header. Default:
The type of time picker, can be either Digital or Analog
The type of picker (for Internal Use)
Default configuration for DatePicker
onChange No DefaultautoClose Default: TruenameOfDays see NameOfDays for the default values.firstDayOfWeek Default: Sunday.allowYearNavigation Default : TrueearliestDate Default : NothingDefault configuration for TimePicker
onChange No DefaultdateFormatter Default: "%m/%d/%Y"dateTimeFormatter Default: "%m/%d/%Y %I:%M %p"autoClose Default: FalsetimeFormatter Default: "%I:%M %p"timePickerType Default: AnalogDefault configuration for DateTimePicker
onChange No DefaultdateFormatter Default: "%m/%d/%Y"dateTimeFormatter Default: "%m/%d/%Y %I:%M %p"autoClose Default: FalsenameOfDays see NameOfDays for the default values.firstDayOfWeek Default: Sunday.titleFormatter Default: "%B %Y"fullDateFormatter Default: "%A, %B %d, %Y"timeFormatter Default: "%I:%M %p"timePickerType Default: AnalogallowYearNavigation Default : TrueearliestDate Default : NothingDefault date parser
Default time parser
Default date and time parser
Default date and time printer
Default date printer
Default time printer
Configuration
onChangeis the message for when the selected value and internalStatein the date picker has changed.autoCloseis a flag to indicate whether the dialog should be automatically closed when a date and/or time is selected.parseInputaccepts a user string from the input element and attempts to convert it to a DateTime