Re: getting weekly total based on daily... - Mailing list pgsql-general

From jerome
Subject Re: getting weekly total based on daily...
Date
Msg-id 200301272334.02652.jerome@gmanmi.tv
Whole thread Raw
In response to Re: getting weekly total based on daily...  (Bruno Wolff III <bruno@wolff.to>)
Responses Re: getting weekly total based on daily...
List pgsql-general
but this gives me week on year not week of month...

:)

On Monday 27 January 2003 11:31, you wrote:
> On Mon, Jan 27, 2003 at 16:52:50 +0800,
>
>   jerome <jerome@gmanmi.tv> wrote:
> > i was wondering is there a built-in funtion that gets the weeknumber
> > based on date..
>
> area=> select extract(week from current_date);
>  date_part
> -----------
>          4
> (1 row)
>
> This is the ISO week of the year. Week 1 is the week containing the first
> Thursday of the year. Weeks go from Monday to Sunday.


pgsql-general by date:

Previous
From: will trillich
Date:
Subject: Re: too many users for postgresql? :)
Next
From: Antti Haapala
Date:
Subject: Re: pg_dump automatic