Re: DateTime fields - Mailing list pgsql-general

From Ted Nolan SRI Augusta GA
Subject Re: DateTime fields
Date
Msg-id 200006281625.MAA00858@ags.ga.erg.sri.com
Whole thread Raw
In response to Re: DateTime fields  (Karel Zak <zakkr@zf.jcu.cz>)
List pgsql-general
In message <Pine.LNX.3.96.1000627094243.5765A-100000@ara.zf.jcu.cz>you write:
>
>On Mon, 26 Jun 2000, Tom Lane wrote:
>
>> "Dale Anderson" <danderso@crystalsugar.com> writes:
>> >     I noticed that the DateTime fields and the to_timestamp function
>> > interpret 12 PM as 00:00 and 12 AM as 12:00.
>>
>> Huh?
>>
>> Looks fine to me.
>
>No, you overlook "to_timestamp()" in query. This routine really has bug in
>PM/AM interpretation.
>
>                    Karel
>

Just wanted to point out that there was a court case (involving "no
parking" signs with confusing hours) several years ago that established
that, for at least parts of the US, 12 Noon is legally neither AM nor
PM.  This actually makes logical sense as well,

    AM is "ante meridiem", ie "before noon"

and
    PM is "post meridiem", ie "after noon"

so noon itself can be neither.



                Ted Nolan

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Trigger (C) question
Next
From: "Arthur M. Kang"
Date:
Subject: Lingering Backend Processes