1.0.1 • Published 6 years ago
@splitsecond/now v1.0.1
@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'