powered by
This function returns a continuous the day of year value (as integer value 1:365) for a given date-time in "POSIXlt" "POSIXct" format.
DayOfYear(DateTime)
DateTime object
# NOT RUN { #Calculating day of year for now DayOfYear(Sys.time()) # }
Run the code above in your browser using DataLab