Date and time input types
Form field widget to easily allow users to enter a date, time or both, generally by using a calendar/time input widget.
IE | Edge | Firefox | Chrome | Safari | Opera | iOS Safari | Opera Mini | Android Browser | Blackberry Browser | Opera Mobile | Chrome for Android | Firefox for Android | IE Mobile | UC Browser for Android | Samsung Internet | QQ Browser | Baidu Browser |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
49 | |||||||||||||||||
56 | 9.3
See notes:
|
4.4 | |||||||||||||||
14 | 52 | 57 | 10 | 10.0-10.2
See notes:
|
4.4.3-4.4.4 | 4 | |||||||||||
11 | 15 | 53
See notes:
|
58 | 10.1 | 44 | 10.3
See notes:
|
all | 56 | 10 | 37 | 57 | 52 | 11 | 11.4 | 5 | 1.2 | 7.12 |
54
See notes:
|
59 | TP | 45 | ||||||||||||||
55
See notes:
|
60 | 46 | |||||||||||||||
56
See notes:
|
61 |
Notes
Older versions of Safari provide date-formatted text fields, but no real calendar widget.
Chrome, Opera, and Microsoft Edge also support the datetime-local
type for both date and time.
There used to also be a datetime
type, but it was dropped from the HTML spec since only Presto ever fully supported it.
-
1
Partial support in Microsoft Edge refers to supporting
date
,week
, andmonth
input types, and nottime
anddatetime-local
. -
2
Partial support in iOS Safari refers to not supporting
min
,max
orstep
attributes -
3
Some modified versions of the Android 4.x browser do have support for date/time fields.
-
4
Can be enabled in Firefox using the
dom.forms.datetime
flag.