Re: Using YY-MM-DD date input

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Using YY-MM-DD date input
Date: 2003-07-28 19:37:47
Message-ID: 200307281937.h6SJblI28675@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Now, adding a YYMMDDD mode (not to be confused with YYYYMMDD) to
> > datestyle is a feature addition to me. I am not sure if anyone wants
> > it, though.
>
> Well, we now saw one person besides me who wants it, so that's good
> enough for me ;-). I'll take responsibility for applying Greg's
> original patch plus mods to support 'DMY', 'MDY', and 'YMD' input
> datestyle options.
>
> Did we come to a conclusion on whether DMY and MDY ought to become
> the preferred names for those input modes, rather than EURO and US?
> I'm leaning towards doing it ...

So this means that when you have YMD, that 03-01-01 is Jan 1, 2003?

--
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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-07-28 19:40:32 Re: Using YY-MM-DD date input
Previous Message Dave [Hawk-Systems] 2003-07-28 19:33:27 scoring select results