Xref: utzoo comp.lang.c:18846 comp.sources.wanted:7493 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!elroy!peregrine!ccicpg!cci632!rit!kar From: kar@cs.rit.edu Newsgroups: comp.lang.c,comp.sources.wanted Subject: Re: Day of week routine Keywords: Does anybody have this? Message-ID: <1121@cs.rit.edu> Date: 19 May 89 16:57:14 GMT References: <234@zeek.UUCP> Sender: news@cs.rit.edu Reply-To: kar@madrid.UUCP (Kenneth A. Reek) Followup-To: comp.lang.c Distribution: usa Organization: Rochester Institute of Technology, Rochester, NY Lines: 12 In article <234@zeek.UUCP> larry@zeek.UUCP (Larry Podmolik) writes: >I need a C function that, given a date, would return what day of the >week it fell on. ... Check out the February 1979 issue of Interface Age (page 75-79). They give algorithms for all sorts of time/date problems. I used one to do what you want to do, and needed only the additional knowledge of today's date and today's day of the week. Kenneth A. Reek Rochester Institute of Technology {harvard,rutgers}!rochester!ritcv!kar