Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!execu!sequoia!rpp386!jfh From: jfh@rpp386.cactus.org (John F. Haugh II) Newsgroups: comp.sources.wanted Subject: Re: Need generic gregorian date routines Summary: calcdate from the archives. Message-ID: <17146@rpp386.cactus.org> Date: 15 Oct 89 18:19:58 GMT References: <947@asuvax.asu.edu> Reply-To: jfh@rpp386.cactus.org (John F. Haugh II) Organization: TrishTrash Readers, Inc. Lines: 21 In article <947@asuvax.asu.edu> system@asuvax.asu.edu (Marc Lesure) writes: >I'm looking for C routines that give day of the week, days between two given >dates, a new date given a starting date + number of days, etc. The routines >need to be based on the Gregorian calendar. There is a program in the archives which gives a date or the difference between two dates. You should be able to cut it down to do what you want. An L.sys line for this system is rpp386 Any ACU 2400 15128328835 in:--in:--in: uucp The file name and size is 8 /usr/archive/calcdate/calcdate.c.Z -- John F. Haugh II +-Things you didn't want to know:------ VoiceNet: (512) 832-8832 Data: -8835 | The real meaning of MACH is ... InterNet: jfh@rpp386.cactus.org | ... Messages Are Crufty Hacks. UUCPNet: {texbell|bigtex}!rpp386!jfh +--------------------------------------