Re: converting epoch to timestamp - Mailing list pgsql-sql

From Richard Huxton
Subject Re: converting epoch to timestamp
Date
Msg-id 435F4AD1.3070605@archonet.com
Whole thread Raw
In response to converting epoch to timestamp  (Rajesh Kumar Mallah <mallah.rajesh@gmail.com>)
Responses Re: converting epoch to timestamp
List pgsql-sql
Rajesh Kumar Mallah wrote:
> Hi,
> 
> Can anyone tell me how to convert epoch to timestamp ?
> 
> ie reverse of :
> 
> SELECT EXTRACT( epoch FROM  now() );

I'd start with either Google or the manuals.

http://www.postgresql.org/docs/8.0/interactive/functions-datetime.html

Scroll down to the section on "epoch" here and see the example.

--   Richard Huxton  Archonet Ltd


pgsql-sql by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: converting epoch to timestamp
Next
From: Stef
Date:
Subject: Re: converting epoch to timestamp