Am 26.05.2015 15:28 schrieb "Michael Schnell" <mschn...@lumino.de>:
>
> On 05/26/2015 01:30 PM, Juha Manninen wrote:
>>
>> Is there some convention how to show a date value "0"?
>> By default it shows year 1899. The patch changed it to "?".
>>
>
> Both funny, as DateTimeToStr(2.0) is "1-1-00" ;-)

Why should that be funny? TDateTime(0.0) is defined as "12/30/1899 12:00
am". Now add two days and we are at "1/1/1900 12:00 am", so all is well...

Regards,
Sven
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to