Calculating with the time - Mailing list pgsql-sql

From Katka a Daniel Dunajsky
Subject Calculating with the time
Date
Msg-id Law12-F35awhftgLeCR0002781b@hotmail.com
Whole thread Raw
List pgsql-sql
Hello All,

I am looking for an advice how to do calculation with the time. I do have a 
column with datatype 'timestamp with time zone'. The value is '2003-03-22 
07:53:56-07' for instance. I would like to select it from the table with 
result of '07:59:59' � '07:53:56', so the query should return '00:06:03'.

Thank you for your time.

DanielD

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail



pgsql-sql by date:

Previous
From: C F
Date:
Subject: Re: CASE returning multiple values (was SQL Help)
Next
From: "Chad Thompson"
Date:
Subject: Re: Index scan never executed?