cmoment
v1.0.4
Published
customize moment
Downloads
2
Readme
CMoment
Customize Moment. see more from Moment
Installation
npm install cmoment
Usage
const moment = require('cmoment');
now
let current = moment.now();
date format to str
let str = moment.format({
time: '12-25-1995',
formatter: 'YYYY/MM/DD'
});
str translate to date
let date = moment.parse('12-25-1995');