Answers for "ion-datetime dayValues"

2

ion datetime interval 30 minutes

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

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>
Posted by: Guest on November-29-2020

Browse Popular Code Answers by Language