Using YY-MM-DD date input

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-general <pgsql-general(at)postgreSQL(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Using YY-MM-DD date input
Date: 2003-07-25 20:02:07
Message-ID: 200307252002.h6PK27317396@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Does anyone use YY-MM-DD for date input?

Right now, it only works mostly for pre-2000 dates because we can detect
that 97-02-03 is a year, while we can not detect that in 03-02-01.

We are considering eliminating it for 7.4. You can still use
yyyy-mm-dd, or course.

Comments?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-07-25 20:13:41 Re: Using YY-MM-DD date input
Previous Message Stephan Szabo 2003-07-25 19:47:24 Re: ERROR: DefineIndex: index function must be marked