html input type date set to current date code example
Example: how to set a date for type date inpt
<input type="date" id="start" name="trip-start" value="2018-07-22">
<input type="date" id="start" name="trip-start" value="2018-07-22">