julian_day {splash} | R Documentation |
Calculate Julian day
Description
This function converts a date in the Gregorian calendar to a Julian day number (i.e., a method of consecutive numbering of days—does not have anything to do with the Julian calendar!)
Usage
julian_day(y, m, i)
Arguments
y |
double, year. |
m |
double, month. |
i |
double, day of month. |
Details
valid for dates after -4712 January 1 (i.e., jde >= 0)
Value
double, Julian day.
References
Meeus, J. 1991. Chapter 7 "Julian Day". Astronomical Algorithms. Willmann-Bell.
[Package splash version 1.0.2 Index]