Re: Problem with timestamp - Pls help

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problem with timestamp - Pls help
Дата
Msg-id 21870.1063988846@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Problem with timestamp - Pls help  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-sql
Stephan Szabo <sszabo@megazone.bigpanda.com> writes:
> I think select CAST(CURRENT_TIMESTAMP(0) AS timestamp without time zone)
> may get you what you want without having to rely on the text format.

If you don't want the time zone, there's also LOCALTIMESTAMP(n).  See
http://www.postgresql.org/docs/7.3/static/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT
        regards, tom lane


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Problem with timestamp - Pls help
Следующее
От: ow
Дата:
Сообщение: psql output and password Qs