input field with type text and date combined 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'});