@splitsecond/now
v1.0.1
Published
Returns the current ISO 8601 datetime stamp
Downloads
1
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/now
or
yarn add @splitsecond/now
Usage
now(): string
const now = require('@splitsecond/now')
now() // '2020-03-26T20:41:15.791Z'