pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Larry Rosenman <ler@lerctr.org>
To: Achilleus Mantzios <achill@matrix.gatewaynet.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: epoch to timestamp
Date: Mon, 12 May 2003 10:35:00 -0500
Message-ID: <93440000.1052753700@lerlaptop.iadfw.net> (raw)
In-Reply-To: <Pine.LNX.4.44.0305121839190.18329-100000@matrix.gatewaynet.com>
References: <Pine.LNX.4.44.0305121839190.18329-100000@matrix.gatewaynet.com>



--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




view thread (12+ messages)  latest in thread

Message-ID: <93440000.1052753700@lerlaptop.iadfw.net>
Permalink:  ../93440000.1052753700@lerlaptop.iadfw.net/
Also on:    postgresql.org/message-id/93440000.1052753700@lerlaptop.iadfw.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ler@lerctr.org, achill@matrix.gatewaynet.com
  Subject: Re: epoch to timestamp
  In-Reply-To: <93440000.1052753700@lerlaptop.iadfw.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox