1.0.1 • Published 5 years ago

@splitsecond/now v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

@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'