interval conversion

Поиск
Список
Период
Сортировка
От Brett Dikeman
Тема interval conversion
Дата
Msg-id 61031.63.142.161.101.1062077015.squirrel@frank.mercea.net
обсуждение исходный текст
Ответы Re: interval conversion
Список pgsql-sql
Hello all!

I have a possibly stupid question- I'm doing some time calculations yielding
intervals, and for my purposes I need to convert the interval(say, "1 day 8
hours") into (floating point) hours.  While there's a plethora of handy
date_extract functionality and the like, I need a conversion.

Any suggestions on how to accompish this?  Simpler the better, of course.

Thanks!

Brett


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: lock row in table
Следующее
От: Tomasz Myrta
Дата:
Сообщение: Re: interval conversion