html date input not correct date code example
Example: start date time picker from day to year in html
$('#datetimepicker').datetimepicker({ format: 'yyyy-mm-dd hh:ii'});
$('#datetimepicker').datetimepicker({ format: 'yyyy-mm-dd hh:ii'});