Answers for "validating ionic5 datetime"

2

ion-datetime min date today

myDate: String = new Date().toISOString();
...
<ion-datetime displayFormat="YYYY-MM-DD" [(ngModel)]="myDate"></ion-datetime>
Posted by: Guest on November-19-2020
2

ion datetime interval 30 minutes

<ion-datetime displayFormat="HH:mm" [(ngModel)]="myDate" minuteValues="0,30">
Posted by: Guest on December-03-2020

Browse Popular Code Answers by Language