days-in-month

0.1.0 • Public • Published

days-in-month

get the number of days in the given month (Gregorian calendar)

Installation

Install with component(1):

$ component install stephenmathieson/days-in-month

Install with npm:

$ npm install days-in-month

API

days(date)

get the number of days in the month of the provided date

days(month)

get the number of days in the provided month; assumes current year

days(year, month)

get the number of days in the provided year/month pair

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    390
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    390

Package Sidebar

Install

npm i days-in-month

Weekly Downloads

242

Version

0.1.0

License

MIT

Last publish

Collaborators

  • stephenmathieson