Calendar to year and day in year.
iy,im,id int year, month, day in Gregorian calendar (year may optionally omit the century)
*ny int year AD *nd int day in year (1 = January 1st)
-1 = OK, but outside range 1900/3/1-2100/2/28 0 = OK, and within above range 2 = bad month (day not computed) 3 = bad day (year,day both computed) j=0 means that the date is within the range where the Gregorian rule concerning century leap years can be neglected. P.T.Wallace Starlink 31 October 1993