Calendar Date to MJD SLA_CALDJ
CALL sla_CALDJ (IY, IM, ID, DJM, J)| IY,IM,ID | I | year, month, day in Gregorian calendar |
| DJM | D | modified Julian Date (JD2400000.5) for |
|
| ||
| J | I | status: |
|
| ||
| |
| 0 = OK |
|
|
||
|
|
| 1 = bad year (MJD not computed) |
|
|
||
|
|
| 2 = bad month (MJD not computed) |
|
|
||
|
|
| 3 = bad day (MJD computed) |
|
|
||
For 1-100AD use the routine sla_CLDJ instead.