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