mdays {CNID}R Documentation

Calculate the number of days in a given year and month

Description

Calculate the number of days in a given year and month.

Usage

mdays(year, month)

Arguments

year

A given year.

month

A given month, vectorization parameter passing is supported.

Value

Days in a given year and month.

Examples

mdays(2025, 1:12)


[Package CNID version 2.1.1 Index]