From: Blaise Carrupt <bc@mjtsa.com>
To: pgsql-sql@postgresql.org
Subject: Convert an interval in seconds
Date: Wed, 24 Jan 2001 13:38:31 GMT
Message-ID: <200101241338.NAA16274@mjtsa.com> (raw)
Hi all !
I've search all the doc to find a function which would allow me to convert an
interval into a number of seconds. What I get is @ 1 hour, what I would like is
-3600. I'd think to something like select interval('sec', myTime) - Ingres
syntax - but it doesn't work.
Does somebody has an idea ?
______________
B. Carrupt
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: bc@mjtsa.com
Subject: Re: Convert an interval in seconds
In-Reply-To: <200101241338.NAA16274@mjtsa.com>
References: <200101241338.NAA16274@mjtsa.com>
* 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