html date input format code example
Example 1: start date time picker from day to year in html
$('#datetimepicker').datetimepicker({ format: 'yyyy-mm-dd hh:ii'});
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 -->