[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Waldhäuser Str. 64, D-72076 Tübingen, Germany
[Uni logo]


JDCNV Source code in jdcnv.pro

JDCNV

Name
       JDCNV
Purpose
       Converts Gregorian dates to Julian days
Explanation
       For IDL versions V5.1 or greater, this procedure is superceded by
       JULDAY() function in the standard IDL distribution.   Note, however,
       that prior to V5.1 there wasa bug in JULDAY() that gave answers off
       by 0.5 days.
Calling Sequence
       JDCNV, YR, MN, DAY, HR, JULIAN
Input Parameters
       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
Output Parameters
       JULIAN = Julian date (double precision)
Example
       To find the Julian Date at 1978 January 1, 0h (U.T.)
       IDL> JDCNV, 1978, 1, 1, 0., JULIAN
       will give JULIAN = 2443509.5
Note
       (1) JDCNV will accept vector arguments
       (2) JULDATE is an alternate procedure to perform the same function
Revision History
       Converted to IDL from Don Yeomans Comet Ephemeris Generator,
       B. Pfarr, STX, 6/15/88
       Converted to IDL V5.0   W. Landsman   September 1997

Last modified by pro2html on 2001 August 07 at 09:30 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically