Re: [despammed] How to get day of week? - Mailing list pgsql-novice

From Andreas Kretschmer
Subject Re: [despammed] How to get day of week?
Date
Msg-id 20041221124217.GA26887@Pinguin.wug-glas.de
Whole thread Raw
In response to How to get day of week?  (Lloyd Dieter <ldieter@rochester.rr.com>)
Responses Re: [despammed] How to get day of week?
Re: [despammed] How to get day of week?
List pgsql-novice
am  21.12.2004, um  7:28:25 -0500 mailte Lloyd Dieter folgendes:
> I'm sure I'm missing something obvious, but this is the novice list, so
> here goes:
>
> Is there a function to return the day-of-week for a given time/datestamp?
>
> What I'm looking for is something like:
>
> select day(current_timestamp);
>
> That would return the current day of the week (e.g. Monday/Tuesday...)

You search something like this:

select extract(dow from eingang) from a_buch ;
       ^^^^^^^^^^^^^^^^^^^^^^^^^




Regards, Andreas
--
Andreas Kretschmer    (Kontakt: siehe Header)
               Tel. NL Heynitz:  035242/47212
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    ===

pgsql-novice by date:

Previous
From: Lloyd Dieter
Date:
Subject: How to get day of week?
Next
From: Geoffrey
Date:
Subject: Re: CAST and timestamp