Re: Date not being parsed as expected - Mailing list pgsql-general

From Oliver Elphick
Subject Re: Date not being parsed as expected
Date
Msg-id 1031307198.994.16.camel@linda
Whole thread Raw
In response to Re: Date not being parsed as expected  (Jean-Christian Imbeault <jc@mega-bucks.co.jp>)
List pgsql-general
On Fri, 2002-09-06 at 10:52, Jean-Christian Imbeault wrote:
> Oliver Elphick wrote:
> >
> > DateStyle ISO/European means output in ISO and accept input in European
> > format.
>
> Ok. I'm a bit confused. Is there a combination of ISO, European or US
> that will allow me to force the DB to accept 01-10-29 as meaning
> 2001-10-29 (YMD)?

I don't think so; ISO order is year first, but ISO format is 4-digit
years.  So 01-10-29 must be a non-ISO format, which means the year is
last.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Behold, I stand at the door, and knock; if any man
      hear my voice, and open the door, I will come in to
      him, and will sup with him, and he with me."
                                   Revelation 3:20


pgsql-general by date:

Previous
From: Jean-Christian Imbeault
Date:
Subject: Re: Date not being parsed as expected
Next
From: "Markus Wollny"
Date:
Subject: Re: Problem with restoring dump (may be tsearch-related)