Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!ginosko!uunet!mcsun!sunic!tut!ra!chyde!ts From: ts@chyde.uwasa.fi (Timo Salmi LASK) Newsgroups: comp.lang.pascal Subject: Re: Day of Week Algorithm Message-ID: <790@chyde.uwasa.fi> Date: 26 Sep 89 07:58:13 GMT References: <6570@hubcap.clemson.edu> <676@thor.wright.EDU> Reply-To: ts@chyde.uwasa.fi (Timo Salmi LASK) Organization: U of Vaasa, Finland Lines: 16 In article <676@thor.wright.EDU> bkottman@wright.EDU (Brett Kottmann) writes: >in article <6570@hubcap.clemson.edu>, bo@hubcap.clemson.edu (Bo Slaughter) says: >> Does anyone out there have a day of the week algorithm in pascal? > > Turbo Pascal has one built in, Now really!? Would you please divulge which *built in* Turbo Pascal function gives the general day of the week. GetDate does it for the current date, only. (Please do not suggest changing the system date. It only covers 1980-2079, is destructive in multitasking, and bad programming anyway.) ................................................................... Prof. Timo Salmi (Site 128.214.12.3) School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: vakk::salmi Bitnet: salmi@finfun