mdays: Calculate the number of days in a specified year and month
Description
Calculate the number of days in a specified year and month.
Usage
mdays(month, year = as.integer(format(Sys.Date(), "%Y")))
Value
Days in a specified year and month.
Arguments
- month
A given month, such as 2.
- year
A given year, the default is current year.