Learn R Programming

CNID (version 2.1.1)

mdays: 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)

Value

Days in a given year and month.

Arguments

year

A given year.

month

A given month, vectorization parameter passing is supported.

Examples

Run this code
mdays(2025, 1:12)

Run the code above in your browser using DataLab