From: | Chris Ruprecht <chrup999(at)yahoo(dot)com> |
---|---|
To: | pocm(at)rnl(dot)ist(dot)utl(dot)pt (Paulo J(dot) Matos) |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Date Parse |
Date: | 2002-01-30 01:10:00 |
Message-ID: | p0510120bb87cf82881a9@[192.168.0.6] |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Hi Paulo,
this should do for example:
select substr( 'now'::date, 6, 2 );
Best regards,
Chris
At 00:04 +0000 01/30/2002, Paulo J. Matos wrote:
>Hi all,
>
>I have a field in a table of type date.
>In a results set I get some dates. How can I access the month in
>those dates?
>
>Best regards,
>
>--
>Paulo J. Matos : pocm(_at_)rnl.ist.utl.pt
>Instituto Superior Tecnico - Lisbon
>Software & Computer Engineering - A.I.
> - > http://www.rnl.ist.utl.pt/~pocm
> ---
> Yes, God had a deadline...
> So, He wrote it all in Lisp!
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>http://archives.postgresql.org
--
Chris Ruprecht
Network grunt and bit pusher extraordinaíre
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From | Date | Subject | |
---|---|---|---|
Next Message | lonh SENG | 2002-01-30 01:12:32 | SQL Script |
Previous Message | postgresql | 2002-01-30 00:59:39 | Re: Date Parse |