Compute the Julian Day Number for a given date, optionally generating
a sequence.
Usage
jd(year = NULL, month = NULL, day = NULL, epoch = Sys.time(), length = 1, by = 1)
Arguments
year
year
month
month
day
day
epoch
epoch (number of seconds since 1st January 1970 0000 UTC)
length
length of sequence
by
step of sequence
Value
A vector of Julian Day Numbers.
Details
If any of the year, month or day parameters is given (and thus nonzero)
the date is taken from these parameters. If not, the epoch parameter is
considered (default taken from system timer).