Learn R Programming

dttr2 (version 0.5.2)

dtt_days_in_month: Days in the Month

Description

Days in the Month

Usage

dtt_days_in_month(x)

Value

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

Arguments

x

A Date or POSIXct vector.

See Also

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

Examples

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

Run the code above in your browser using DataLab