date

< html‎ | elements‎ | input‎ | type
Jump to: navigation, search

date

This page has been flagged with the following issues:

High-level issues:

Merge Candidate: This page is a candidate for merge with the following pages: [[html/attributes/type]]

W3C Working Draft

Summary

The date type of the <input> element represents a widget for specifying a date value (year, month, day), with no time zone or time information.


Overview Table

DOM Interface HTMLInputElement

Examples

HTML

<input type="date" value="2012-12-07">



Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic Support 20
Unsupported
Unsupported
9
Unsupported

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic Support 4.4
10
18
19
Unsupported
?
Unsupported
Supported (when?)


Compatibility notes

Browser Version Note
WebKit Supports dates between 0001-01-01 and 275760-09-13. It is applied to value, min, and max.