On Tue, Jan 5, 2010 at 6:33 PM, Chris <dmag...@gmail.com> wrote:
> I'm trying to get extract() to always return the number of hours between two
> time intervals, ala:

SELECT extract(epoch from timeend - timestart) / 3600 from t1;

rls

-- 
:wq

-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql

Reply via email to