month_days {dateutils}R Documentation

Number of days in a given month

Description

Get the number of days in a month given the year and month

Usage

month_days(year, month)

Arguments

year

integer year value

month

integer month value

Value

The number of days in the month (integer)

Examples

month_days(2021,9) ## 30

month_days(2020,2) ## 29

[Package dateutils version 0.1.5 Index]