dtt_days_in_month: Days in the Month

View source: R/days-in-month.R

dtt_days_in_monthR Documentation

Days in the Month

Description

Days in the Month

Usage

dtt_days_in_month(x)

Arguments

x

A Date or POSIXct vector.

Value

A integer vector of 28 to 31 indicating the days in the month.

See Also

Other days: dtt_days_in_year(), dtt_doy(), dtt_doy_to_date()

Examples

dtt_days_in_month(as.Date(c("2000-02-11", "2001-02-01")))

dttr2 documentation built on Sept. 26, 2024, 1:06 a.m.