Re: Date 1973/06/03 Conversion Problem in 7.3.4 and 7.3.2. - Mailing list pgsql-bugs

From Karel Zak
Subject Re: Date 1973/06/03 Conversion Problem in 7.3.4 and 7.3.2.
Date
Msg-id 20030910133301.GB27822@zf.jcu.cz
Whole thread Raw
In response to Date 1973/06/03 Conversion Problem in 7.3.4 and 7.3.2.  (Torello Querci <querci@negens.com>)
Responses Re: Date 1973/06/03 Conversion Problem in 7.3.4 and 7.3.2.  (Theodore Petrosky <tedpet5@yahoo.com>)
Re: Date 1973/06/03 Conversion Problem in 7.3.4 and 7.3.2.  (Torello Querci <querci@negens.com>)
List pgsql-bugs
On Wed, Sep 10, 2003 at 12:52:22PM +0200, Torello Querci wrote:
> Hi to all,
>
> I have a problem storing 1973/06/03 date.
>
> If I send this statement
>
>     select to_date('03/06/1973','dd/mm/yyyy');
>
> in the psql interface I obtain
>
>  to_date
> ------------
>  1973-06-02
>
> I test this statement with Postgres 7.3.2 and 7.3.4 packaged withMandrake 9.1
> and Mandrake 9.2RC1 and obtain the same result.
>
> Can anyone help me?

 What's happen if you try:

test=# select '03/06/1973'::date;
    date
------------
 1973-06-03


--
 Karel Zak  <zakkr@zf.jcu.cz>
 http://home.zf.jcu.cz/~zakkr/

pgsql-bugs by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Date 1973/06/03 Conversion Problem in 7.3.4 and 7.3.2.
Next
From: "Christoph Jaeger"
Date:
Subject: Foreign key constraint still active after table row removed