how to use moment to format date in ionic 4 code example
Example: moment js ionic
npm install moment --save
# And import in your .ts file, there is no need to import in your module.
import * as moment from 'moment';
npm install moment --save
# And import in your .ts file, there is no need to import in your module.
import * as moment from 'moment';