
Last chance! 50% off unlimited learning
Sale ends in
Convert dates from the DD/MM/YYYY format to day of the year (DOY)
date.to.DOY(dates, format = "dd/mm/yyyy")
Vector with dates to convert.
Format of the date (support DD/MM/YYYY MM/DD/YYYY and YYYY/MM/DD).
Return a vector containing the corresponding DOY.
# NOT RUN {
dates = c("01/01/2000", "03/03/2000", "03/03/1999")
date.to.DOY(dates=dates)
# }
Run the code above in your browser using DataLab