timestamp output as seconds since epoch? - Mailing list pgsql-sql

From A.M.
Subject timestamp output as seconds since epoch?
Date
Msg-id DB35FD78-49F0-11D7-A1A6-0030657192DA@cmu.edu
Whole thread Raw
Responses Re: timestamp output as seconds since epoch?
List pgsql-sql
I need to grab the pgsql timestamp as an integer (seconds since epoch) 
in order to compare the dates programmatically later on. What I'd like 
is:
SELECT CAST('12/12/2004 4:50:45.3' AS TIMESTAMP)::INT8;
The docs talk alot about date input but only discuss the 4 SET 
regionalized date output methods. Thanks!><><><><><><><><><
AgentM
agentm@cmu.edu




pgsql-sql by date:

Previous
From: "Grignon Etienne"
Date:
Subject: pgsql problem
Next
From: Rod Taylor
Date:
Subject: Re: timestamp output as seconds since epoch?