[Lazarus] Date value "0"

Tony Whyman tony.whyman at mccallumwhyman.com
Fri May 29 10:40:48 CEST 2015


I must say that I'm amazed at how long this thread is - but then I 
shouldn't be.

Many moons ago, I used to work at the long gone British Mainframe 
Computer company ICL. Here, there was a well used term "a bicycle sheds 
argument". This supposedly came from the sales force retelling how the 
board of a large company had once taken two minutes to approve the 
purchase of a multi-million pound mainframe and then spent the next two 
hours discussing a small bill for the repair of the office bicycle shed. 
This was allegedly because they all understood bicycle sheds, but none 
of them had a clue how a computer worked.

This thread could well be an example of such an argument.

Perhaps we should leave it as:

The 24 hour clock is a modulo 24 numbering system, starting at midnight.

The 12 hour clock is a modulo 12 numbering system starting at midnight 
and noon, where zero is conventionally written as "12", with conventions 
distinguishing the periods between noon and midnight and midnight and noon.

As to why this is so, I would quote the late great Douglas Adams 
"because the stupid monkey didn't know any better".

Tony

On 28/05/15 17:35, patspiper wrote:
> On 28/05/15 18:57, Jürgen Hestermann wrote:
>>
>> Am 2015-05-28 um 17:14 schrieb waldo kitty:
>>> i don't know why it isn't confident... am is morning so 12am is the 
>>> very first entry into morning as 12pm is the very first entry into 
>>> afternoon...
>>> i don't understand the confusion or the problem...
>>>
>>
>> So the day starts with 12 at midnight and then switches to 1 an hour 
>> later?
>> If that isn't confusing...
> In am/pm mode, this is how it goes indeed. When it is 30 minutes past 
> midnight, you say it is 12:30 (implicit am). An hour later, it becomes 
> 1:30. In military time (24 hrs), then they become 00:30 and 1:30.
>
> Stephano
>
> -- 
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>





More information about the Lazarus mailing list