Re: Date not being parsed as expected

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Date not being parsed as expected
Date: 2002-09-06 10:13:18
Message-ID: 1031307198.994.16.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)Elphick(at)lfix(dot)co(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Markus Wollny 2002-09-06 10:15:55 Re: Problem with restoring dump (may be tsearch-related)
Previous Message Jean-Christian Imbeault 2002-09-06 09:52:04 Re: Date not being parsed as expected