Re: Week to date function

Поиск
Список
Период
Сортировка
От Ireneusz Pluta
Тема Re: Week to date function
Дата
Msg-id 4BAE68FA.8000803@wp.pl
обсуждение исходный текст
Ответ на Re: Week to date function  (Jorge Godoy <jgodoy@gmail.com>)
Ответы Re: Week to date function
Список pgsql-sql
Jorge Godoy pisze:
> Are you sure?
>
> http://en.wikipedia.org/wiki/ISO_8601
snip
>
> As Jan 1st, 2010 happened on a Friday, it was on week 53 of 2009.
you are right, thanks for pointing that out.

I didn't check the opposite way like this:

select date_part('week', '2010-01-01'::date);date_part
-----------       53

I need to recheck my code.



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

Предыдущее
От: Jorge Godoy
Дата:
Сообщение: Re: Week to date function
Следующее
От: Jorge Godoy
Дата:
Сообщение: Re: Week to date function