html form date time type code example
Example 1: html date input
<label for="start">Start date:</label>
<input type="date" id="start" name="trip-start"
value="2018-07-22"
min="2018-01-01" max="2018-12-31">
Example 2: html form date
<label for="birthday">Birthday:</label>
<input type="date" id="birthday" name="birthday">