easy-datetime
v0.0.5
Published
datetime util
Downloads
2
Readme
easy-datetime
a datetime util
usage
npm install easy-datetime
example
var DateTime = require('easy-datetime');
var dateStr = new DateTime().format();
var tommorow = new DateTime().next('date');
var yesterday = new DateTime().prev('date');
var days = new DateTime().countDays();
var str = DateTime.format('yyyy-MM-dd',new Date());