set date in input type date jquery 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">