This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

datetime-local

Summary

The datetime-local type of the <input> element represents a widget for setting a date-time value (year, month, day, hours, minutes, seconds, milliseconds) with no time zone information.

Overview Table

DOM Interface
HTMLInputElement

Examples

<input type="datetime-local" value="2012-12-14T19:00">

Notes

On Safari Mobile for iOS, setting display: block on an input of type="datetime-local" causes the text within the input to become vertically misaligned.