Path: utzoo!attcan!uunet!ginosko!usc!rutgers!mit-eddie!uw-beaver!sumax!amc-gw!pilchuck!seahcx!phred!brianr From: brianr@phred.UUCP (Brian Reese) Newsgroups: comp.lang.pascal Subject: Re: Day of Week Algorithm Summary: RTFM Message-ID: <2762@phred.UUCP> Date: 27 Sep 89 21:30:36 GMT References: <6570@hubcap.clemson.edu> <2689@com50.C2S.MN.ORG> Reply-To: brianr@phred.UUCP (Brian Reese) Organization: Physio Control Corp., Redmond, Wa. Lines: 40 In article <2689@com50.C2S.MN.ORG> jeff@com2serv.c2s.mn.org (Jeffery S. Wilson) writes: >In article <6570@hubcap.clemson.edu> bo@hubcap.clemson.edu (Bo Slaughter) writes: >>Does anyone out there have a day of the week algorithm in pascal? >>I want to be able to pass to it the date, and get the day out. >>Something like this: >> >> [psuedo-code deleted] >> >>Thanks, >>Bo Slaughter > >Come on Bo, any reasonably competent programmer should be able to come up with >a function like this in a few minutes. Why waste net.dollars begging for an >answer? I'm sure someone there at Clemson would be able to help you. Then >again, maybe not. >Is this a programming assignment for a computer science course you are taking? >If you can't figure this one out on your own, you have no chance pal. > >Jeffery S. Wilson | jeff@c2s.mn.org | {amdahl|hpda}!bungia!com50!jeff Come on Jeff, any reasonably sensitive netter should be able to come up with a more constructive reply than that. Isn't this kind of thing what this forum is for in the first place? Granted, it's a simple task, but Bo may be new to tickling the 8088's. Give a guy a break! (just my half-a-nibble) BTW, *God* doesn't think he's a *programmer*....what's with you? As for my reply....RTFM. ;-) (You may learn more in just a few minutes than if I were to give you the code.) (If you're still stuck, e-mail me. I'd be happy to help.) Brian Defn: Broad-mindedness: high-mindedness that has been flattened by expirience. -- Brian Reese uw-beaver!pilchuck!seahcx!phred!brianr Physio Control Corp., Redmond, Wa. brianr@phred.UUCP "Do not write on this line. This line has been left blank intentionally."