Two digits year formatting
От
Alexander Zaitsev
Тема
Two digits year formatting
Дата
Msg-id
5.1.0.14.0.20010910101921.01b549f8@mail.goldwiretech.com
Список
Hello:
Is there any way to make Postgres think of the year '00' as of the year
2000 during the to_date function execution?
I tried following:
select to_date('01/01/00', 'MM/DD/YY');
select to_date('01/01/00', 'MM/DD/RR');
In both cases the result is 0001-01-01 BC
Thanks.
Alexander Zaitsev
azaitsev@goldwiretech.com
PS. The document
http://www.postgresql.org/idocs/index.php?functions-formatting.html does
not provide with the solution.
В списке pgsql-docs по дате отправления