ionic moment 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';