[Lazarus] Date value "0"

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Wed May 27 11:05:37 CEST 2015


Gordon Cooper wrote:
> We were taught that 24.00 did not exist. Time went from 23.59
> to 00.00.  The same rule can be applied to 11.59 am & pm.

Except where there's a leap second.

 > The same rule can be applied to 11.59 am & pm.

No it can't. You have to be prepared to parse 12:00 a.m. by context but 
it's usually midnight.

This is a deeply messy area, not helped at all by the odd conventions 
adopted by some of the early RTC chips which still turn up in embedded 
equipment.


> Gordon.
> 
> 
> On 27/05/15 19:57, Mattias Gaertner wrote:
>> On Wed, 27 May 2015 09:19:42 +0200 (CEST)
>> Michael Van Canneyt <michael at freepascal.org> wrote:
>>
>>> [...]
>>> Does 12:00 am actually exist ? If so, what is that ? Midnight or 
>>> midday ?
>>> Should not that be 00:00 am ? (or is that the same ?)
>> You are not alone with such questions:
>> https://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight 
>>
>>
>> Mattias
>>
>> -- 
>> _______________________________________________
>> Lazarus mailing list
>> Lazarus at lists.lazarus.freepascal.org
>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> 
> 
> -- 
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list