Re: timestamp with postgresql 7.3 - Mailing list pgsql-sql

From Claude
Subject Re: timestamp with postgresql 7.3
Date
Msg-id Pine.LNX.4.51.0304050216160.27043@bar.noc.be.easynet.net
Whole thread Raw
In response to Re: timestamp with postgresql 7.3  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-sql
Thanks, that made the trick.


On Fri, 4 Apr 2003, Stephan Szabo wrote:

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



pgsql-sql by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: timestamp with postgresql 7.3
Next
From: "A.M."
Date:
Subject: UNION and ORDER BY ... IS NULL ASC