Description Usage Arguments Value Author(s) Examples
Convert Gregorian dates to Julian days
1 | jdcnv(yr, mn, day, hr)
|
yr |
year, integer scalar or vector |
mn |
month, integer (1-12) scalar or vector |
day |
day, integer 1-31) scalar or vector |
hr |
hours and fractions of hours of universal time (U.T.), scalar or vector |
julian |
Julian date |
Converted to IDL from Yeoman's Comet Ephemeris Generator, B. Pfarr, STX, 1988
R adaptation by Arnab Chakraborty (June 2013)
1 2 3 4 | # To find the Julian Date for 1978 January 1, 0h (U.T.)
# Result: julian = 2443509.5
jdcnv(1978, 1, 1, 0.)
|
[1] 2443510
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.