Re: Select current_timestamp as a different timezone..

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Select current_timestamp as a different timezone..
Дата
Msg-id 3EA5CEEE.4020000@joeconway.com
обсуждение исходный текст
Ответ на Select current_timestamp as a different timezone..  ("Williams, Travis L, NPONS" <tlw@att.com>)
Список pgsql-novice
Williams, Travis L, NPONS wrote:
> All, Is there a way to do this?  Take current_timestamp (which on my
> box is CST) and select it as maybe EST?
>

See:
http://www.us.postgresql.org/users-lounge/docs/7.3/postgres/functions-datetime.html#FUNCTIONS-DATETIME-ZONECONVERT

Section 6.8.3. AT TIME ZONE

HTH,

Joe


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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: can you select on an OID?
Следующее
От: "Williams, Travis L, NPONS"
Дата:
Сообщение: Re: Select current_timestamp as a different timezone..