date selection in html 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'});