GetDaysInMonth: Get Number of Days in a Year and Month

Description Usage Arguments Value Author(s) Examples

View source: R/GetDaysInMonth.R

Description

Calculate the number of days in a year and month.

Usage

1

Arguments

x

'integer' vector. Year and month, with a required date format of YYYYMM.

Value

A 'integer' vector indicating the number of days for each year and month value in x.

Author(s)

J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center

Examples

1
GetDaysInMonth(c("199802", "199804", "200412"))

inlmisc documentation built on Jan. 25, 2022, 1:14 a.m.