[LIP] Postgres quickie...

"Binand Sethumadhavan" <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
Hi,

I can do:

template1=# select extract (epoch from timestamp 'Mar 31 23:59:59 2006');
 date_part
------------
 1143845999
(1 row)

How do I do the reverse? ie, given the number 1143845999, how do I get
the string "Mar 31 23:59:59 2006"?

Thanks,

Binand


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.