Re: epoch to timestamp

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Re: epoch to timestamp
Дата
Msg-id 93440000.1052753700@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:39:59 -0200 Achilleus Mantzios 
<achill@matrix.gatewaynet.com> wrote:

> On Mon, 12 May 2003, Larry Rosenman wrote:
>
> As an example see:
>
> select date_part('minute',(105471234::abstime::timestamp) + ('10
> years')::interval);
>
I actually have just seconds (from my LD carrier), and want to store it in 
hours/minutes/seconds.


>> >
>> Along the same lines, how can I get from seconds to hour/minute/seconds?
>>
>> (an interval?)
>>
>>
>>
>
> --
> ==================================================================
> Achilleus Mantzios
> S/W Engineer
> IT dept
> Dynacom Tankers Mngmt
> Nikis 4, Glyfada
> Athens 16610
> Greece
> tel:    +30-210-8981112
> fax:    +30-210-8981877
> email:  achill@matrix.gatewaynet.com
>         mantzios@softlab.ece.ntua.gr



-- 
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 по дате отправления:

Предыдущее
От: Achilleus Mantzios
Дата:
Сообщение: Re: epoch to timestamp
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: epoch to timestamp