Re: [SQL] Week of year function? - Mailing list pgsql-sql

From Zakkr
Subject Re: [SQL] Week of year function?
Date
Msg-id Pine.LNX.3.96.991026094248.12578B-100000@ara.zf.jcu.cz
Whole thread Raw
In response to Re: [SQL] Week of year function?  ("Zot O'Connor" <zot@zotconsulting.com>)
List pgsql-sql
Hi,
in _any_ next PostgreSQL version (perhaps) will include the oracle compatible 
to_char(datetime, text), this routine allows arbitrary formatting for 
datetime-text outputs. Example:

template1=> select to_char(now(), 'My week: WW');
to_char
-----------
My week: 43
(1 row)
                        Zakkr

------------------------------------------------------------------------------
<zakkr@zf.jcu.cz>                                http://home.zf.jcu.cz/~zakkr/

Kim Project:  http://home.zf.jcu.cz/~zakkr/kim/              (process manager)
FTP:          ftp://ftp2.zf.jcu.cz/users/zakkr/              (C/ncurses/PgSQL)
------------------------------------------------------------------------------
       ...and cathedral dilapidate
 




pgsql-sql by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [SQL] possible bug?
Next
From: John Ridout
Date:
Subject: RE: [SQL] Access and field sizes