8.0 Difference Between Dates

Calculating the difference between two dates is easy once these dates are expressed as Julian Day Numbers - simply take the difference between the Julian Day Numbers for each date. One can use the algorithms given in previous sections to perform this conversion. Care must be taken to use the algorithm appropriate to the calendar of each of the dates - either Gregorian or Julian. If both dates are in the same calendar, then the constants cancel and further algorithm simplifications are possible.

AESIR RESEARCH HOME PAGE

Last Modified: April 7, 2005