@niina/datestamp
v1.0.2
Published
Get full datestamp by YYYYMMDDMS (optional) format
Downloads
7
Readme
@niina/datestamp
Author: Danil Shaymurzin
Example
const ds = require('@niina/datestamp')
ds() // 2020082000000000 (length = 16)
const options = {
format: 'DDMMYYYYMS' // Default: YYYYMMDDMS
cutend: 3 // Default: 0
}
ds(options) // 2008202000000 (length = 13)