Check out example codes for "ionic format date". It will help you in understanding the concepts better.

Code Example 1

{{valueDate | date: 'dd/MM/yyyy'}}

Learn ReactJs, React Native from akashmittal.com