1.4.0 • Published 2 years ago
chm-strtime v1.4.0
安装
npm i chm-strtime
使用说明
1.导入
const {dateFormat} = require('strtime')
2.使用
dateFormat(时间戳)||dateFormat() //返回值是'yyyy-MM-dd hh:mm:ss'格式的时间
开源协议
ISC
npm i chm-strtime
1.导入
const {dateFormat} = require('strtime')
2.使用
dateFormat(时间戳)||dateFormat() //返回值是'yyyy-MM-dd hh:mm:ss'格式的时间
ISC