Timezone conversion

Поиск
Список
Период
Сортировка
От Jeff Boes
Тема Timezone conversion
Дата
Msg-id usfo4vs8tq35e486ha9pbc6gcu921d3uhn@4ax.com
обсуждение исходный текст
Ответы Re: Timezone conversion  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-sql
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).  What I've been doing is to use a
Pl/Pgsql function to subtract the current timezone-offset and add in the desired
one.  Is there a way to do it without arithmetic?



В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: rownum
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Drop temporary table only if it exists