... - Mailing list pgsql-sql

From Bhuvan A
Subject ...
Date
Msg-id Pine.LNX.4.20.0109141721220.30965-100000@Larry.bks
Whole thread Raw
Responses Re:
List pgsql-sql
Hi all,

Consider this..

SELECT EXTRACT(EPOCH FROM TIMESTAMP(now()));date_part
------------1000467997
(1 row)

Fine..

Similarly, how could i get timestamp value for these SECONDS?
ie.. VICE VERSA


Something like this..
SELECT EXTRACT(TIMESTAMP FROM INTERVAL('1000467997 SECONDS'));


:)


Kindly Apologize for any inconvenience.

    ======================================================================           He who invents adages for others
toperuse           takes along rowboat when going on cruise.
======================================================================

Regards,
Bhuvaneswar.



pgsql-sql by date:

Previous
From: Richard NAGY
Date:
Subject: SQL request change when upgrade from 7.0.2 to 7.1.3
Next
From: Bhuvan A
Date:
Subject: How to Get Timestamp From SECONDS?