date input format html 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 input date format
<label for="start">Starting Date(s): </label>
<input type="date" id="start" name="starting-date"
value="(DATE)"
min="(DATE)" max="(DATE)">
<!-- Replace (DATE) with corresponding date you wish to be inputted into the code -->