Re: date_trunct() and start of week

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: date_trunct() and start of week
Дата
Msg-id heo3sp$q5v$1@ger.gmane.org
обсуждение исходный текст
Ответ на Re: date_trunct() and start of week  (Thomas Markus <t.markus@proventis.net>)
Список pgsql-general
Thomas Markus, 27.11.2009 09:41:
> Hi,
>
> not all to zero : "that are less significant than the selected one set
> to zero (or one, for day and month)"
>
Sorry, I missed the "or one" part.

> see
> http://www.postgresql.org/docs/8.1/static/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT
> dow: "The day of the week (0 - 6; Sunday is 0)"

So essentially it *is* always returning Monday independently of any setting.

Thanks for your help

Regards
Thomas




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

Предыдущее
От: Andrew Maclean
Дата:
Сообщение: Is there any reason why databases cannot have a binary formatted datatype?
Следующее
От: John R Pierce
Дата:
Сообщение: Re: Is there any reason why databases cannot have a binary formatted datatype?