Re: epoch to timestamp
От | Larry Rosenman |
---|---|
Тема | Re: epoch to timestamp |
Дата | |
Msg-id | 84320000.1052753190@lerlaptop.iadfw.net обсуждение исходный текст |
Ответ на | Re: epoch to timestamp (Achilleus Mantzios <achill@matrix.gatewaynet.com>) |
Ответы |
Re: epoch to timestamp
|
Список | pgsql-sql |
--On Monday, May 12, 2003 18:30:11 -0200 Achilleus Mantzios <achill@matrix.gatewaynet.com> wrote: > On Mon, 12 May 2003, Lucas Lain wrote: > >> i really dont know how to do it ... i'm a newbie >> it is something like this? >> >> select cast(105471234 AS abstime) ... >> >> and then? > > Just do > select 105471234::abstime::timestamp; > Along the same lines, how can I get from seconds to hour/minute/seconds? (an interval?) -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
В списке pgsql-sql по дате отправления: