[comp.sys.ibm.pc.misc] Date Calculation

dchun@aludra.usc.edu (Dale Chun) (04/27/91)

Does anyone have some source code (or formula) to accurately calculate
the number of days between two dates? I know there is a short routine
out there, but I can't seem to find it on the net. I would prefer the
source code in Turbo Pascal, but I am willing to translate from C or
Basic. Thanks for any info.
				...dale

------------------------------------------------------------------------------
Dale C. Chun		     | * 2 + 2 = 5, for sufficiently large values of 2
PLAYMAC Technical Support    | * Hack First, Ask Questions Later.
dchun@aludra.usc.edu         | * MAC; Maybe A Computer, but probably a toy.
------------------------------------------------------------------------------