Skip site navigation (1) Skip section navigation (2)

Re: interval to seconds conversion. How?

From: Denis Zaitsev <zzz(at)anda(dot)ru>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: interval to seconds conversion. How?
Date: 2004-10-27 22:23:40
Message-ID: 20041028042340.B16092@macacos.ward.six (view raw, whole thread or download thread mbox)
Lists: pgsql-general
On Thu, Oct 28, 2004 at 04:08:53AM +0600, Denis Zaitsev wrote:
> How can I calculate the number of second in some interval?  Neither
> the secods part, nor the seconds after midnight...  Just the full
> quantity of the seconds.  I haven't find any function.
> Thanks in advance.

Oh, I'm sorry.  This is extract(epoch from interval).

In response to

pgsql-general by date

Next:From: Guy FraserDate: 2004-10-27 22:26:13
Subject: Re: '1 year' = '360 days' ????
Previous:From: Thomas HallgrenDate: 2004-10-27 22:13:41
Subject: Re: Reasoning behind process instead of thread based

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group