powered by
Get julian date from the begining of the year
get_julian(x)
date or a series of dates such as, as.Date("yyyy-mm-dd")
A julian date between 1 and 365, note that in leap years the day 366 is considered as 365
# NOT RUN { get_julian(x = as.Date("1979-01-15")) # }
Run the code above in your browser using DataLab