Re: interval to seconds conversion. How?

Поиск
Список
Период
Сортировка
От Denis Zaitsev
Тема Re: interval to seconds conversion. How?
Дата
Msg-id 20041028043720.A16380@macacos.ward.six
обсуждение исходный текст
Ответ на Re: interval to seconds conversion. How?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Wed, Oct 27, 2004 at 06:30:24PM -0400, Tom Lane wrote:
> Denis Zaitsev <zzz@anda.ru> writes:
> > 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.
>
> EXTRACT(EPOCH FROM interval_value)

Yes, I've already found it...  :)  Thanks anyway.

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: interval to seconds conversion. How?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: interval to seconds conversion. How?