Re: epoch to timestamp

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: epoch to timestamp
Date: 2003-05-12 15:35:00
Message-ID: 93440000.1052753700@lerlaptop.iadfw.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

--On Monday, May 12, 2003 18:39:59 -0200 Achilleus Mantzios
<achill(at)matrix(dot)gatewaynet(dot)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(at)matrix(dot)gatewaynet(dot)com
> mantzios(at)softlab(dot)ece(dot)ntua(dot)gr

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2003-05-12 15:42:24 Re: Caching Websites
Previous Message Dennis Gearon 2003-05-12 15:27:10 Re: odd error...

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2003-05-12 16:00:11 Re: epoch to timestamp
Previous Message Lucas Lain 2003-05-12 15:27:05 Re: epoch to timestamp