HTML <input> type Attribute
Example
<input type="datetime-local">
Meaning
Provides controls for entering a date and time, with no time zone.
Opens a date picker or numeric wheels for date- and time-components when active in supporting browsers.
Standard Syntax
HTML: <input type="datetime-local">
XHTML: <input type="datetime-local" />
Advertisement