julian = datejul( year, month, day );
DATEJUL accepts a date as a 3-tuple (year, month, day, in integer form). The "year" should include the century part. DATEJUL returns the equivalent Julian date, where day 1 is 1 Jan. 1900; the result is returned as an integer.
If there is any error during the conversion, a negative result will be returned.
For the purposes of this routine, "Julian date" is the number of days that have elapsed since "day 1".
Copyright © 1996, Thinkage Ltd.