palDjcal

Modified Julian Date to Gregorian Calendar

Description:

Modified Julian Date to Gregorian Calendar, expressed in a form convenient for formatting messages (namely rounded to a specified precision, and with the fields stored in a single array)

Invocation

void palDjcal ( int ndp, double djm, int iymdf[4], int j );

Arguments

ndp = int (Given)
Number of decimal places of days in fraction.
djm = double (Given)
Modified Julian Date (JD-2400000.5)
iymdf[4] = int[] (Returned)
Year, month, day, fraction in Gregorian calendar.
j = status (Returned)
0 = OK. See eraJd2cal for other values.

Notes: