Re: is there a way to get hh:mm:ss given seconds

Поиск
Список
Период
Сортировка
От Tod McQuillin
Тема Re: is there a way to get hh:mm:ss given seconds
Дата
Msg-id 20020709234014.Y68009-100000@glass.pun-pun.prv
обсуждение исходный текст
Ответ на is there a way to get hh:mm:ss given seconds  ("Narendra A" <narendraa@subexgroup.com>)
Список pgsql-sql
On Mon, 8 Jul 2002, Narendra A wrote:

> Is there a way in sql such that if I give seconds it should me return me
> hours:mins:seconds
>
> Eg. Seconds     hh:mm:ss
> 422              1:01:02

foo=# select '422 seconds'::interval;interval
----------00:07:02
(1 row)
-- 
Tod McQuillin






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

Предыдущее
От: David Stanaway
Дата:
Сообщение: Re: is there a way to get hh:mm:ss given seconds
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: PLPGSQL language documentation