slaCaldj -
SYNOPSYS
void slaCaldj(iy, im, id, djm, j)
PARAMETERS
- int iy
-
- int im
-
- int id
-
- double *djm
-
- int *j
-
DESCRIPTION
Gregorian calendar to Modified Julian Date.
(Includes century default feature: use slaCldj for years
before 100AD.)
Given
iy,im,id int year, month, day in Gregorian calendar
Returned
*djm double Modified Julian Date (JD-2400000.5) for 0 hrs
*j int status
0 = ok
1 = bad year (MJD not computed)
2 = bad month (MJD not computed)
3 = bad day (MJD computed)
Acceptable years are 00-49, interpreted as 2000-2049,
50-99, " " 1950-1999,
100 upwards, interpreted literally.
Called
slaCldj
P.T.Wallace Starlink 21 October 1993
SEE ALSO