ion datetime get date ionic code example
Example 1: ion input date
<ion-datetime
displayFormat="MM/DD/YYYY"
min="1994-03-14"
max="2012-12-09">
</ion-datetime>
Example 2: ionic format date
{{valueDate | date: 'dd/MM/yyyy'}}
<ion-datetime
displayFormat="MM/DD/YYYY"
min="1994-03-14"
max="2012-12-09">
</ion-datetime>
{{valueDate | date: 'dd/MM/yyyy'}}