An input field for a date and/or time.


format {string}
The date format. Available syntax can be seen in the documentation for moment. The default is M/D/YYYY h:mm a.
id {string}
The id attribute of the input.
name {string}
The name attribute of the input.
onChange {function ({string})}
Function that will be called when the user types some text into the input or selects a date from the drop down.
step {number}
The step granularity of the least significant format element.
value {string}|{Date}|{moment}
If a string is specified, it is put in the input. If a Date or moment is specified, it is formatted and put in the input.