HTML5 Please

<input type=date>

Use with caution with polyfillhtml

There are many date inputs: datetime-local, date, time, month, week that should provide a datepicker to the user.

Verdict
Use with caution
Category
HTML features
Browser support
Can I Use
Works in
IE10+

Should you use <input type=date> in 2026?

For a long time, WebKit offered a spinner UI on these inputs, but this was an incomplete implementation (and has since been removed).

A few polyfills offer a proper datepicker UI, if the feature is not offered natively.

We suggest you use Modernizr to detect this feature, as it has correctly detected these features, regardless of WebKit's partial implementation or other browser bugs.

Polyfills and fallbacks

webshims, html5widgets