Re: Error: Bad Timestamp Format - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Error: Bad Timestamp Format
Date
Msg-id 20010913095839.A4379@svana.org
Whole thread Raw
In response to Re: Error: Bad Timestamp Format  (Thomas Lockhart <lockhart@fourpalms.org>)
List pgsql-general
On Wed, Sep 12, 2001 at 04:55:35PM +0000, Thomas Lockhart wrote:
> > BTW, i don't know who thought of it but yyyy-dd-mm is a terrible format and
> > should be shot.
>
> Where does yyyy-dd-mm appear in PostgreSQL? What is the issue here?

From the original post:

> vendirza=# SHOW DATESTYLE;
> NOTICE:  DateStyle is ISO with US (NonEuropean) conventions

That's yyyy-dd-mm

What you want is:

# show datestyle;
NOTICE:  DateStyle is ISO with European conventions

Which is yyyy-mm-dd

HTH,
--
Martijn van Oosterhout <kleptog@svana.org>
http://svana.org/kleptog/
> Magnetism, electricity and motion are like a three-for-two special offer:
> if you have two of them, the third one comes free.

pgsql-general by date:

Previous
From: Vince Vielhaber
Date:
Subject: Re: business perspective
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Error: Bad Timestamp Format