1.0.3 • Published 2 years ago

guesswhy-reaper-data v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

guesswhy-reaper-date

Build Status MIT License NPM downloads

⬇️ Install

npm i guesswhy-reaper-date

🎨 Usage

const wofDate = require('guesswhy-reaper-date')

console.log(wofDate.format('Y-m-d H:i:s'))

console.log(wofDate.format('Y/m/d'))

console.log(wofDate.format('Y/m/d H:i:s'))

💡 param

keywordsdesc
Y
m
d
H
i
s
语法:wofDate.format('随意组合')

举个栗子🌰
wofDate.format('YmdHis')
wofDate.format('Y-m-d H:i:s')
wofDate.format('Y/m/d')
wofDate.format('Y/m/d H:i:s')
wofDate.format('Y年m月d日 H:i:s')
wofDate.format('Y')
wofDate.format('m')
wofDate.format('d')
wofDate.format('H')
wofDate.format('i')
wofDate.format('s')

🔒 License

See the LICENSE file for license rights and limitations (MIT).