Postgresql likes Tuesday... - Mailing list pgsql-hackers

From Rod Taylor
Subject Postgresql likes Tuesday...
Date
Msg-id 1033421868.66248.62.camel@jester
Whole thread Raw
Responses Re: Postgresql likes Tuesday...  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Postgresql likes Tuesday...  (Karel Zak <zakkr@zf.jcu.cz>)
List pgsql-hackers
select to_char(  to_date(    CAST(extract(week from CURRENT_TIMESTAMP) as text)    || CAST(extract(year from
CURRENT_TIMESTAMP)as text)    , 'WWYYYY')  , 'FMDay, D');
 
 to_char   
------------Tuesday, 3
(1 row)


Not that it matters for me at the moment (I care that it's in the week
of..), but why does it pick Tuesday?

--  Rod Taylor



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: AIX compilation problems (was Re: Proposal ...)
Next
From: Tom Lane
Date:
Subject: Re: Postgresql likes Tuesday...