powered by
Days in the Year
dtt_days_in_year(x)
A integer vector of 365 and 366 indicates the days of the year.
A Date or POSIXct vector.
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")))
Run the code above in your browser using DataLab