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

Readme

Keywords

none

Package Sidebar

Install

npm i days-in-month

Weekly Downloads

129

Version

0.1.0

License

MIT

Last publish

Collaborators

  • stephenmathieson