Is there a way to get just the number of seconds between two timestamps?

From: A B <gentosaker(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Is there a way to get just the number of seconds between two timestamps?
Date: 2009-04-08 15:14:36
Message-ID: dbbf25900904080814x45a9a1c9m682247a8d96ec127@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I want to just get the number of seconds and not have to use extract
for seconds, minutes, hours, days, months, years, etc.
Is that possible?

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Steve Crawford 2009-04-08 15:26:04 Re: Is there a way to get just the number of seconds between two timestamps?
Previous Message Andreas Kretschmer 2009-04-08 15:06:19 Re: scripts for the tutorial