Re: to_date conversion semantics?

Colin 't Hart <colinthart@gmail.com>

From: "Colin 't Hart" <colinthart@gmail.com>
To: adrian.klaver@gmail.com
Cc: pgsql-general@postgresql.org
Date: 2010-09-20T14:50:02Z
Lists: pgsql-general
I must be blind, I can see the syntax but I can't see where it explains the
wrapping phenomenon that I'm seeing.

Cheers,

Colin


On 20 September 2010 16:36, Adrian Klaver <adrian.klaver@gmail.com> wrote:

> On Monday 20 September 2010 7:20:29 am Colin 't Hart wrote:
> > Hi,
> >
> > I can't find in the Postgresql documentation the semantics that explains
> > the following:
> >
> >
> > colin@ruby:~/workspace/eyedb$ psql
> > psql (8.4.4)
> > Type "help" for help.
> >
> > colin=> select to_date('731332', 'YYMMDD');
> >   to_date
> > ------------
> >  1974-02-01
> > (1 row)
> >
> > colin=>
> >
> >
> > Thanks,
> >
> > Colin
>
> http://www.postgresql.org/docs/8.4/interactive/functions-formatting.html
>
> --
> Adrian Klaver
> adrian.klaver@gmail.com
>