Re: Date Format Inquiry

From: Allan Engelhardt <allane(at)cybaea(dot)com>
To: pgsql-general(at)commandprompt(dot)com
Subject: Re: Date Format Inquiry
Date: 2001-08-10 21:28:25
Message-ID: 3B7451F9.AB35F922@cybaea.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

pgsql-general(at)commandprompt(dot)com wrote:

> In fact, it shows up correctly up until after I try to specify past
> january, but above the 31st day it fails.
>
> lx=# SELECT date('99031');
> date
> ------------
> 1999-01-31
> (1 row)
>
> lx=# SELECT date('99032');
> ERROR: Bad date external representation '99032'
>
> Is this format no longer maintained, or am I missing something? ;)

select '1999.032'::DATE;

still works and is probably more sound........

Allan.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Justin Clift 2001-08-10 21:56:52 Re: Slightly OT: Open Source database design tool?
Previous Message Sue Lane 2001-08-10 21:22:17 Re: Ora2pg.pl - some feedback