@splitsecond/now
v1.0.1
Published
Returns the current ISO 8601 datetime stamp
Readme
@splitsecond/now
Returns the current datetime stamp.
splitsecond is a simple date manipulation library for Node. This library always returns ISO 8601 datetime stamps in UTC.
Installation
npm i -S @splitsecond/nowor
yarn add @splitsecond/nowUsage
now(): string
const now = require('@splitsecond/now')
now() // '2020-03-26T20:41:15.791Z'