From: Wilson Fletcher <research@mclachlan.com.au>
To: pgsql-sql@postgresql.org
Subject: Re: convert integer seconds to timestamp
Date: Thu, 16 Oct 2003 13:39:40 +1000
Message-ID: <20031016133940.A7903@mclachlan.com.au> (raw)
In-Reply-To: <20031016133111.A7731@mclachlan.com.au>
References: <20031016133111.A7731@mclachlan.com.au>
Sorry, I found the answer to this on the list.
ie. select date::abstime from ....
BUT, how do I get it in local time ? ie. - 10 or 11 hours depending on daylight savings.
thanks.
On Thu, Oct 16, 2003 at 01:31:11PM +1000, Wilson Fletcher wrote:
> How can I convert epoch seconds (as an interger) to a timestamp ?
>
> I've already seen the post below BUT it doesn't work. I suspect it is out of date:
> http://archives.postgresql.org/pgsql-sql/2000-09/msg00190.php
>
> thanks.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
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: research@mclachlan.com.au
Subject: Re: convert integer seconds to timestamp
In-Reply-To: <20031016133940.A7903@mclachlan.com.au>
* 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