From: Plant Thomas <Thomas.Plant@lvh.it>
To: pgsql-sql@postgresql.org
Subject: Sum of Intervals
Date: Wed, 12 Feb 2003 15:37:07 +0100
Message-ID: <418DEFFAA399D311818A00508B912F2883D74A@idefix.lvh.dnet.it> (raw)
Hello,
I'm trying to do a sum() of some time intervals.
I get the result as: '1 day 02:30' which is ok, but is there a function
which converts this to hours or do I have to write my own?
For example the '1 day 02:30' should become 26:30 hours.
Thanks for any advice,
Thomas
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: Thomas.Plant@lvh.it
Subject: Re: Sum of Intervals
In-Reply-To: <418DEFFAA399D311818A00508B912F2883D74A@idefix.lvh.dnet.it>
* 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