Re: day of week

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Anton Andreev" <anton(dot)andreev(at)fmi(dot)uni-sofia(dot)bg>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: day of week
Date: 2007-11-01 09:52:36
Message-ID: 162867790711010252g335afdc5ia3e892a6992ef358@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 31/10/2007, Anton Andreev <anton(dot)andreev(at)fmi(dot)uni-sofia(dot)bg> wrote:
> Hi,
>
> I have records with date column. Is there a way I can get which day of
> week this date is?
>
> Cheers,
> Anton

Hello

http://www.postgresql.org/docs/8.2/interactive/functions-datetime.html
EXTRACT or function date_part

Regards
Pavel Stehule

>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>

In response to

  • day of week at 2007-10-31 14:34:44 from Anton Andreev

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2007-11-01 10:03:12 Re: day of week
Previous Message Filip Rembiałkowski 2007-11-01 08:27:45 Re: how can I shut off "more"?