ionic date time picker get value selected 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 format date
{{valueDate | date: 'dd/MM/yyyy'}}