time_jd: Convert time string to Julian Day

View source: R/time_jd.R

time_jdR Documentation

Convert time string to Julian Day

Description

This function converts a POSIXct-like date into the corresponding Julian Day number and returns it as string format.

Usage

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.

Details

There is also a more powerful function to convert between different time formats, see time_convert for details.

Value

Character value, Julian Day corresponding to the input date.

Author(s)

Michael Dietze

Examples


time_jd(time = "2020-05-01")


coffeemuggler/eseis documentation built on Nov. 25, 2024, 8:31 p.m.