Re: skip weekends: revisited

From: Jeff Amiel <jamiel(at)istreamimaging(dot)com>
To: Andre Maasikas <andre(dot)maasikas(at)abs(dot)ee>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: skip weekends: revisited
Date: 2005-03-14 17:46:44
Message-ID: 4235CE04.5060908@istreamimaging.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andre Maasikas wrote:

> From the looks of it, variable date seems to calculate
> the first day of a week and for it to work day_of_the_week
> has to start from 0 so Sunday - 0, Friday - 5
> (in US at least?)
>
> Andre

That appears to be the case (0 is sunday.....)
thanks for the assist!!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Travers 2005-03-14 17:50:09 Re: sql question
Previous Message Karsten Hilbert 2005-03-14 17:46:01 Re: Best practices: Handling Daylight-saving time