Re: is there a way to get hh:mm:ss given seconds
От
David Stanaway
Тема
Re: is there a way to get hh:mm:ss given seconds
Дата
Msg-id
1026226697.29753.22.camel@ciderbox
Ответ на
is there a way to get hh:mm:ss given seconds (Narendra A)
Список
Дерево обсуждения
Re: is there a way to get hh:mm:ss given seconds Kevin Brannen <kevinb@nurseamerica.net>
On Mon, 2002-07-08 at 09:28, Narendra A wrote: > Sir, > 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 scratch=# SELECT 422::interval;interval ----------00:07:02 (1 row) scratch=# \q dstanawa@ciderbox:~$ bc -l 7*60+2 422 I don't know where you got 1:01:02 from. -- David Stanaway
В списке pgsql-sql по дате отправления