counting days

From: garry saddington <garry(at)schoolteachers(dot)co(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: counting days
Date: 2006-08-29 18:35:27
Message-ID: 1156876527.6991.126.camel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I need to count the days between two dates that are not saturdays or
sundays. I have read the manual and searched the lists but I am
struggling. I can count the days but am finding difficulty excluding sat
and sun from the count. I need this without reference to any tables.
Does anyone have any pointers please.
Regards
Garry

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Baerg 2006-08-29 18:56:59 Re: strange sum behaviour
Previous Message John D. Burger 2006-08-29 18:29:06 Re: strange sum behaviour