Re: Date Questions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Date Questions
Дата
Msg-id 5854.1169595609@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Date Questions  ("Robert Sanford" <rsanford@trefs.com>)
Ответы Re: Date Questions  ("Robert Sanford" <rsanford@trefs.com>)
Список pgsql-general
"Robert Sanford" <rsanford@trefs.com> writes:
> It appears to me that there is some inconsistency in the date
> calculations for my PostgreSQL install (version 8.0 on Win32).

extract(DOW) follows the convention that the week starts on Sunday,
but extract(WEEK) uses the ISO convention, which includes weeks
starting on Monday.  No, it's not super consistent, but hardly
anything about date/time conventions is :-(

            regards, tom lane

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

Предыдущее
От: Harald Fuchs
Дата:
Сообщение: Re: psql substitution variables
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: Date Questions