Article View: comp.sys.ibm.pc.misc
Article #9536Date Calculation
From: Dale Chun
Date: Sat, 27 Apr 1991 01:08
Date: Sat, 27 Apr 1991 01:08
12 lines
1169 bytes
1169 bytes
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. ------------------------------------------------------------------------------
Technical Details
Message-ID:
<16903@chaph.usc.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!usc!chaph.usc.edu!aludra.usc.edu!dchunShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!usc!chaph.usc.edu!aludra.usc.edu!dchun From: dchun@aludra.usc.edu (Dale Chun) Newsgroups: comp.sys.ibm.pc.misc Subject: Date Calculation Message-ID: <16903@chaph.usc.edu> Date: 27 Apr 91 01:08:26 GMT Sender: news@chaph.usc.edu Organization: University of Southern California, Los Angeles, CA Lines: 12 Nntp-Posting-Host: aludra.usc.edu Originator: dchun@aludra.usc.edu