From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Claude <pgsql-list@easynet.be>
Cc: pgsql-sql@postgresql.org
Subject: Re: timestamp with postgresql 7.3
Date: Fri, 4 Apr 2003 14:05:02 -0800 (PST)
Message-ID: <20030404140146.W97589-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <Pine.LNX.4.51.0304042118491.26366@bar.noc.be.easynet.net>
On Fri, 4 Apr 2003, Claude wrote:
> I have a table a field with timestamps in seconds since epoch and I would
> like to get a human readable date... but it seems that postgresql 7.3 does
> not support the datetime(), timestamp(), timestamptz() functions...
I'd say probably something like:
CAST('epoch' as timestamp with time zone) + integerfield * INTERVAL '1 second'
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: sszabo@megazone23.bigpanda.com, pgsql-list@easynet.be
Subject: Re: timestamp with postgresql 7.3
In-Reply-To: <20030404140146.W97589-100000@megazone23.bigpanda.com>
* 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