## convert Julian Day 18 to POSIXct
time_convert(input = 18, output = "POSIXct")
## convert Julian Day 18 to yyyy-mm-dd
time_convert(input = 18, output = "yyyy-mm-dd")
## convert yyyy-mm-dd to Julian Day
time_convert(input = "2016-01-18", output = "JD")
## convert a vector of Julian Days to yyyy-mm-dd
time_convert(input = 18:21, output = "yyyy-mm-dd")
Run the code above in your browser using DataLab