how to show current date in input type date in dateTIMEpicker code example
Example 1: start date time picker from day to year in html
$('#datetimepicker').datetimepicker({ format: 'yyyy-mm-dd hh:ii'});
Example 2: how to set input of time type to current time on initialization
this.createForm.patchValue({
date: new Date(),
time: new Date().getHours() + ':' + new Date().getMinutes()
});