date.to.DOY {TDPanalysis} | R Documentation |
Convert dates from the DD/MM/YYYY format to day of the year (DOY)
date.to.DOY(dates, format = "dd/mm/yyyy")
dates |
Vector with dates to convert. |
format |
Format of the date (support DD/MM/YYYY MM/DD/YYYY and YYYY/MM/DD). |
Return a vector containing the corresponding DOY.
dates = c("01/01/2000", "03/03/2000", "03/03/1999")
date.to.DOY(dates=dates)