Re: Error in date_trunc function?

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: Error in date_trunc function?
Дата
Msg-id 3BE0DCF5.CF0C91EA@fourpalms.org
обсуждение исходный текст
Ответ на Error in date_trunc function?  (Marat Khairullin <xmm@rambler.ru>)
Список pgsql-general
...
> netquote=> select date_trunc('month', now());
>        date_trunc
> ------------------------
>  2001-10-01 00:00:00+04

This one rotated the time back to daylight savings time (the transition
date was in October), hence the one hour jump from now(). You certainly
would not want to somehow preserve a time zone into a date for which it
is invalid, right?

                     - Thomas

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: alter table workaround
Следующее
От: "Tille, Andreas"
Дата:
Сообщение: Re: PostgreSQL dirver?