Re: Timezone conversion - Mailing list pgsql-sql

From Tom Lane
Subject Re: Timezone conversion
Date
Msg-id 10901.1045256922@sss.pgh.pa.us
Whole thread Raw
In response to Re: Timezone conversion  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-sql
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


pgsql-sql by date:

Previous
From: "Tomasz Myrta"
Date:
Subject: Re: sub-query optimization
Next
From: Robert Treat
Date:
Subject: Re: postmaster -i & establishes three connections why?