Answers for "validating ionic5 datetime required"

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
-1

ionic format date

{{valueDate | date: 'dd/MM/yyyy'}}
Posted by: Guest on May-11-2020

Browse Popular Code Answers by Language