Re: Timezone conversion

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Timezone conversion
Дата
Msg-id 10901.1045256922@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Timezone conversion  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список 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 по дате отправления:

Предыдущее
От: "Tomasz Myrta"
Дата:
Сообщение: Re: sub-query optimization
Следующее
От: Robert Treat
Дата:
Сообщение: Re: postmaster -i & establishes three connections why?