R/days-in-year.R
dtt_days_in_year.Rd
Days in the Year
dtt_days_in_year(x)
A Date or POSIXct vector.
A integer vector of 365 and 366 indicates the days of the year.
Other days: dtt_days_in_month(), dtt_doy(), dtt_doy_to_date()
dtt_days_in_month()
dtt_doy()
dtt_doy_to_date()
dtt_days_in_year(as.Date(c("2000-10-11", "2001-01-01"))) #> [1] 366 365