Re: Error: Bad Timestamp Format

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
Cc: Graham Leggett <minfrin(at)sharp(dot)fm>, pgsql-general(at)postgresql(dot)org
Subject: Re: Error: Bad Timestamp Format
Date: 2001-09-12 23:58:39
Message-ID: 20010913095839.A4379@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)svana(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2001-09-13 00:09:55 Re: Error: Bad Timestamp Format
Previous Message Vince Vielhaber 2001-09-12 23:16:28 Re: business perspective