dtt_days_in_year: Days in the Year

Description Usage Arguments Value See Also Examples

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

Description

Days in the Year

Usage

1

Arguments

x

A Date or POSIXct vector.

Value

A integer vector of 365 and 366 indicates the days of the year.

See Also

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

Examples

1
dtt_days_in_year(as.Date(c("2000-10-11", "2001-01-01")))

dttr2 documentation built on Sept. 19, 2021, 9:06 a.m.