pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roberto Mello <rmello@cc.usu.edu>
To: Richard Huxton <dev@archonet.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Converting epoch to timestamp?
Date: Wed, 1 Aug 2001 07:29:29 -0600
Message-ID: <20010801072929.A19443@cc.usu.edu> (raw)
In-Reply-To: <001b01c11a63$f86779e0$1001a8c0@archonet.com>
References: <20010801005708.A16786@cc.usu.edu>
	<001b01c11a63$f86779e0$1001a8c0@archonet.com>

On Wed, Aug 01, 2001 at 09:28:39AM +0100, Richard Huxton wrote:

> Hi Roberto - long time no see.

	Hey Richard. Yeah. Summer classes and summer jobs :-) I have to finish
my expanded "Porting From Oracle" thingy.

>
> richardh=> select '1970-01-01'::date + '996654342 seconds'::interval;
>         ?column?
> ------------------------
>  2001-08-01 08:25:42+01
> (1 row)

	Duh! Guess I could have thought of that. 
	Thanks a lot.

	-Roberto
-- 
+------------| Roberto Mello - http://www.brasileiro.net |------------+
     Computer Science, Utah State University - http://www.usu.edu
       USU Free Software & GNU/Linux Club - http://fslc.usu.edu
         Space Dynamics Lab, Developer  http://www.sdl.usu.edu
Veni, Vidi, VCR - I came, I saw, I videotaped it



view thread (9+ messages)  latest in thread

Message-ID: <20010801072929.A19443@cc.usu.edu>
Permalink:  ../20010801072929.A19443@cc.usu.edu/
Also on:    postgresql.org/message-id/20010801072929.A19443@cc.usu.edu

 · 

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: rmello@cc.usu.edu, dev@archonet.com
  Subject: Re: Converting epoch to timestamp?
  In-Reply-To: <20010801072929.A19443@cc.usu.edu>

* 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