ionic 5 formatted date.now() code example
Example 1: ion datetime interval 30 minutes
<ion-datetime displayFormat="HH:mm" [(ngModel)]="myDate" minuteValues="0,30">
Example 2: ionic datepicker done
<ion-datetime displayFormat="h:mm a" doneText="Okay"></ion-datetime>