Answers for "ion picker with datetime"

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