Two digits year formatting - Mailing list pgsql-docs

From Alexander Zaitsev
Subject Two digits year formatting
Date
Msg-id 5.1.0.14.0.20010910101921.01b549f8@mail.goldwiretech.com
Whole thread Raw
List pgsql-docs
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 by date:

Previous
From: Rene Pijlman
Date:
Subject: NULLs and sort order
Next
From: Thomas Lockhart
Date:
Subject: Re: NULLs and sort order