Web platform features explorer

Date and time <input> types

Widely available since 2023-10-26
Tags: api html Groups: HTML > Forms HTML > HTML elements

The <input type="date"> and <input type="time"> HTML elements show date and time pickers.

Specifications

Browser support (view on caniuse.com)

  • Chrome 20 Released on 2012-06-26
  • Chrome Android 25 Released on 2013-02-27
  • Edge 12 Released on 2015-07-29
  • Firefox 57 Released on 2017-11-14
  • Firefox for Android 57 Released on 2017-11-28
  • Safari 14.1 Released on 2021-04-26
  • Safari on iOS 5 Released on 2011-10-12