Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!panda!genrad!decvax!ittatc!funvax!bhoward From: bhoward@funvax.UUCP (Bruce Howard) Newsgroups: net.unix Subject: Re: Adding Time and Date Message-ID: <118@funvax.UUCP> Date: Sat, 30-Aug-86 10:19:00 EDT Article-I.D.: funvax.118 Posted: Sat Aug 30 10:19:00 1986 Date-Received: Sat, 30-Aug-86 21:54:30 EDT References: <3344@brl-smoke.ARPA> Organization: Fairfield Univerity Lines: 19 > 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 ---------------------------------