For a long time, you had to resort to custom widget libraries or hacks to show a date picker. The web platform now ships with the HTMLInputElement showPicker() method, a canonical way to show a browser picker not only for dates, but also time, color, and files. Background A frequent request we hear from web developers is: How do I programmatically show a picker for controls like date? Stack Overfl
![Show a browser picker for date, time, color, and files | Blog | Chrome for Developers](https://cdn-ak-scissors.b.st-hatena.com/image/square/8b0bfc33981f7cba4aace910422c1afea20a893d/height=288;version=1;width=512/https%3A%2F%2Fdeveloper.chrome.com%2Fstatic%2Fblog%2Fshow-picker%2Fimage%2Fhero.jpeg)