From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Cc: Jeff Boes <jboes@qtm.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Timezone conversion
Date: Fri, 14 Feb 2003 16:08:42 -0500
Message-ID: <10901.1045256922@sss.pgh.pa.us> (raw)
In-Reply-To: <20030214095723.V63977-100000@megazone23.bigpanda.com>
References: <20030214095723.V63977-100000@megazone23.bigpanda.com>
Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
> On Thu, 13 Feb 2003, Jeff Boes wrote:
>> Is there a straightforward way to change the display of a time to another
>> timezone? For example, my server's environment is EST (-0500); I want to
>> convert timestamps for display in PST (-0800).
> I think you might be able to use "AT TIME ZONE" to do what you want. I
> think it's described in Chapter 6 of the user's guide.
Also, there's always the straightforward approach: temporarily change
the TIMEZONE variable ;-)
I believe AT TIME ZONE is new in 7.3.
regards, tom lane
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: tgl@sss.pgh.pa.us, sszabo@megazone23.bigpanda.com, jboes@qtm.net
Subject: Re: Timezone conversion
In-Reply-To: <10901.1045256922@sss.pgh.pa.us>
* 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