time difference - Mailing list pgsql-general

From Johann Höchtl
Subject time difference
Date
Msg-id 381452F1.BBFF0A26@bigfoot.com
Whole thread Raw
List pgsql-general
Hello !

I have a table say td with two attributes a and b, both of type time.
All i want to do is to calculate the difference in seconds between this
two time values. The value of b should always be greater then the one of
a.

How can i do this ? Allready tried a lot with all the functions \df
showed me but did´nt got closer....

Help would be highly appriciated !

lG,
    John

pgsql-general by date:

Previous
From: Bob Kline
Date:
Subject: Re: [GENERAL] Import data from a file
Next
From: Peter Eisentraut
Date:
Subject: Re: [GENERAL] Import data from a file