This function converts a POSIXct-like date into the corresponding Julian Day number and returns it as string format.
time_jd(time)
Arguments
time: Character value, date to convert to Julian Day. If no POSIXct format is provided, the function will try to convert the input data to POSIXct, assuming the time zone is UTC.
Returns
Character value, Julian Day corresponding to the input date.
Details
There is also a more powerful function to convert between different time formats, see time_convert for details.