npm.io
2.1.0 • Published 2 years ago

micro-timestamp

Licence
MIT
Version
2.1.0
Deps
2
Size
4 kB
Vulns
0
Weekly
0
Stars
1

micro-timestamp

const microTimestamp = require('micro-timestamp')
// "2018-11-11 11:11:11.111111"
microTimestamp()

Returns a UTC micro-second timestamp in MySQL compatible format using the microtime module.

If the system timezone is not set to UTC offset will be applied to return correct UTC time.