Re: ISO year.

Поиск
Список
Период
Сортировка
От Kurt Roeckx
Тема Re: ISO year.
Дата
Msg-id 20031218172713.GA14573@ping.be
обсуждение исходный текст
Ответ на Re: ISO year.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: ISO year.
Список pgsql-patches
On Thu, Dec 18, 2003 at 11:41:18AM -0500, Tom Lane wrote:
> Kurt Roeckx <Q@ping.be> writes:
> > This patch allows you to use IYYYY as format specifier to get the
> > ISO year, the year correspondeing to the ISO week number (IW).
>
> The purpose of to_char() as I understand it is to be 100% Oracle
> compatible, not to invent new features at random.  Is this duplicating
> some Oracle functionality that was left out?

I have no idea if this in Oracle or not.  But it's something I
needed, and other people in the past asked about it too.

You could use the normal year instead of the iso year, but around
newyear this always gives problems.


Kurt


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ISO year.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: ISO year.