Date input is the form field widget to easily allow users to enter a date or a time, generally by using a calendar/time input widget.
This feature is already supported by a few major browsers including Chrome, Microsoft Edge and Opera.
You can use Date input like this:
<input type="date" name="bday">
More information can be found here.