From: q u a d r a <quadratini@sni.ph>
To: pgsql-sql@postgresql.org
Subject: time difference
Date: Fri, 28 Jun 2002 11:58:39 +0800
Message-ID: <3D1BDEEF.50409@sni.ph> (raw)
I have a query that returns
?column?
-----------------
6 days 01:56:14
(1 row)
How can I get it as total number of hours?
Instead of days and hours, I need hours only (all in all, so 24hours * 6
days + 01:56:14)
Can you help me please? Thanks
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: quadratini@sni.ph
Subject: Re: time difference
In-Reply-To: <3D1BDEEF.50409@sni.ph>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox