Adding Time and Date
Bruce Howard
bhoward at funvax.UUCP
Sun Aug 31 00:19:00 AEST 1986
> Use ACM algorithm #199 "Conversions Between Calendar Date and
> Julain Day Number". Once you've converted the dates into julian
> days (number of days since the founding of Rome, for trivia buffs)
> the arithmetic is trivial. When done, you convert back.
>
> The algorithms are fairly short; I can type them in if you don't
> have the Collected Algorithms available.
Is there also a simple routine that will allow me to calculate
what day of the week an arbitrary date falls on?
Bruce
--
---------------------------------
...decvax!ittatc!funvax!bhoward Bruce Howard @ Fairfield University
...ihnp4!itivax!funvax!bhoward Located in Scenic Fairfield, CT 06430
---------------------------------
More information about the Comp.unix
mailing list