how to format a date in ts ionic code example Example: ionic format date {{valueDate | date: 'dd/MM/yyyy'}}