Re: epoch to timestamp - Mailing list pgsql-sql

From Larry Rosenman
Subject Re: epoch to timestamp
Date
Msg-id 93440000.1052753700@lerlaptop.iadfw.net
Whole thread Raw
In response to Re: epoch to timestamp  (Achilleus Mantzios <achill@matrix.gatewaynet.com>)
Responses Re: epoch to timestamp
List 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 by date:

Previous
From: Achilleus Mantzios
Date:
Subject: Re: epoch to timestamp
Next
From: Josh Berkus
Date:
Subject: Re: epoch to timestamp