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>
To: Lucas Lain <lainl@aconectarse.com>
Cc: Bruno Wolff III <bruno@wolff.to>
Cc: pgsql-sql@postgresql.org
Subject: Re: epoch to timestamp
Date: Mon, 12 May 2003 10:26:30 -0500
Message-ID: <84320000.1052753190@lerlaptop.iadfw.net> (raw)
In-Reply-To: <Pine.LNX.4.44.0305121829550.18329-100000@matrix.gatewaynet.com>
References: <Pine.LNX.4.44.0305121829550.18329-100000@matrix.gatewaynet.com>



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




view thread (12+ messages)  latest in thread

Message-ID: <84320000.1052753190@lerlaptop.iadfw.net>
Permalink:  ../84320000.1052753190@lerlaptop.iadfw.net/
Also on:    postgresql.org/message-id/84320000.1052753190@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, lainl@aconectarse.com, bruno@wolff.to
  Subject: Re: epoch to timestamp
  In-Reply-To: <84320000.1052753190@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