insert date and time in html form 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">