Answers for "ion date time and ionInput"

2

ion datetime interval 30 minutes

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

ion input date

<ion-datetime 
	displayFormat="MM/DD/YYYY" 
    min="1994-03-14" 
    max="2012-12-09">
</ion-datetime>
Posted by: Guest on September-21-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