Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g050RSm03104 for ; Fri, 4 Jan 2002 19:27:28 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id g0505el96515 for pgsql-sql@postgresql.org; Fri, 4 Jan 2002 19:05:40 -0500 (EST) (envelope-from news) From: "Chris Sypolt" X-Newsgroups: comp.databases.postgresql.sql References: <3c34be98_1@news.nwlink.com><20020103232947.0fedcb67.bjorn.lundin@swipnet.se><3c34f24e$1_1@news.nwlink.com><20020104142556.056e376a.bjorn.lundin@swipnet.se> <20020104142805.3f0ca1f2.bjorn.lundin@swipnet.se> Subject: Re: SQL syntax help needed Date: Fri, 4 Jan 2002 16:05:14 -0800 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: <3c36434c$1_1@news.nwlink.com> Organization: Northwest Link To: pgsql-sql@postgresql.org X-Archive-Number: 200201/95 X-Sequence-Number: 6184 Worked like a charm. Thanks and best regards Björn Lundin wrote in message news:20020104142805.3f0ca1f2.bjorn.lundin@swipnet.se... > > > You also need a function Weekday, to determine what day of week a given date is. > > Zeller's Congruence is your friend here. > > Look at John English's 'Ada 95: the Craft of Object-Oriented Programming' chapter 4 > > (http://www.it.brighton.uk/staff/je/adacraft/ch04.htm) > > sorry, wrong address this is it: > > http://www.it.brighton.ac.uk/staff/je/adacraft/ch04.htm > > /Björn