[Lazarus] Date value "0"

Lukasz Sokol el.es.cr at gmail.com
Thu May 28 17:54:13 CEST 2015


On 28/05/15 16:14, waldo kitty wrote:
> On 05/28/2015 05:18 AM, Michael Schnell wrote:
>> On 05/27/2015 08:48 PM, waldo kitty wrote:
>>> 
>>> yes... 12:00am is midnight... 00:00am is the same... so also is
>>> 00:00 or 24:00 in 24hour time...

Day runs from 00:00:00 to 23:59:59 (or ::60) in 24h format ;)
There is no 24:00:00 :) and must not be :)

>>> 
>> AFAIK it's rather set that 24:00 is 00:00 the next day, but 12:00
>> am is "not 100% confident" as Mark says.
> 
> 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...

What of 00:00 AM then ? Same as 12:00 AM ?
S'pose it depends on who uses it ;)

> 
> i don't understand the confusion or the problem...
> 

The confusion was what to convert Val(TdateTime) == 0 to
...in package view :)

el es





More information about the Lazarus mailing list