ion-datetime mode laptop code example
Example 1: ion datetime time current set
public date:any = new Date().toISOString();
...
<ion-datetime [(ngModel)]="date"
displayFormat="MMM DD, YYYY HH:mm"
formControlName="myDate">
</ion-datetime>
Example 2: ionic datepicker done
<ion-datetime displayFormat="h:mm a" doneText="Okay"></ion-datetime>