html input form template date code example
Example: html add mindate to datetime-local picker
<form>
<label for="party">Enter a date and time for your party booking:</label>
<input id="party" type="datetime-local" name="partydate" min="2017-06-01T08:30" max="2017-06-30T16:30">
</form>