Description: Julian Date to Gregorian year, month, day, fraction.
The source code for the Fortran routine JD2CAL is available: