I find myself struggling with this problem: I need to convert a julian date to normal date ("YYYY-MM-DD") in R. I'm aware that I can specify as.Date(julian_date,origin="")
, but I don't know which origin should be provided.
My julian dates are something like 2458010,2458011 etc.. If I stay with default origin ("1970-01-01") my dates becomes something like "8699-11-10" which is obviously wrong since I know dates should be in years 2017-2018
How do I know the correct origin for the as.Date
function? http://www.onlineconversion.com/julian_date.htm This site seems to convert my julian dates in the right way...