aip-date

0.2.0 • Public • Published

AIP Date

Get the current publication date

getDate("us", offset)

Get the current publication date as a formatted string

getDateStr("us", offset, "yyyy-MM-dd")

Get the publication date relative to a provided date

getDateAt("5/21/2020")

Get an array of publication dates, forward and back in time from now

dateRange(4, 4)

Dependencies (1)

Dev Dependencies (2)

Package Sidebar

Install

npm i aip-date

Weekly Downloads

5

Version

0.2.0

License

MIT

Unpacked Size

8.06 kB

Total Files

5

Last publish

Collaborators

  • ghemingway