1.0.3 • Published 4 years ago

js-pub-npm-timeutil v1.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

1.安装

npm install js-pub-npm-timeutil

2.引用

var timeUtil = require('js-pub-npm-timeutil')
// 参数一:是number类型的时间戳
console.log(formatDate(new Date().getTime(), 'yyyy/MM/dd'))
console.log(timeUtil.formatDate(null, 'yyyy/MM/dd'))
console.log(timeUtil.formatDate())
1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago