now-ymd

0.1.0 • Public • Published

now-ymd

Return current date (y)ymmdd as number. Mind the evil overflow at the beginning of each century.

API

This module exports one function which holds another function:

nowYmdNum()

Return the current date in (y)ymmdd format as a number.

nowYmdNum.t()

As above, but add current time .HHMMSS as fraction.

Known issues

  • Needs more/better tests and docs.

 

License

ISC

Package Sidebar

Install

npm i now-ymd

Weekly Downloads

1

Version

0.1.0

License

ISC

Unpacked Size

2 kB

Total Files

3

Last publish

Collaborators

  • mk-pmb