<input type="datetime">

Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

The HTML <input type="datetime"> was a control for entering a date and time (hour, minute, second, and fraction of a second) as well as a timezone. This feature has been removed from WHATWG HTML, and is no longer supported in browsers.

Instead, browsers are implementing (and developers are encouraged to use) the datetime-local input type.

See Also

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, Sheppy, Sebastianz, mrenty, teoli, Jeremie, kscarfone, sidgan
 Last updated by: chrisdavidmills,