[Lazarus] Date value 0
Kamen Ketev
kamenlist at abv.bg
Wed May 27 13:42:22 CEST 2015
May be using Julian day is better. Or intermediate conversion to it.
http://en.wikipedia.org/wiki/Julian_day
Regards,
Kamen
-------- Оригинално писмо --------
От: Michael Schnell
Относно: Re: [Lazarus] Date value 0
До: Lazarus mailing list
Изпратено на: Сряда, 2015, Май 27 11:17:06 EEST
On 05/27/2015 12:59 AM, Sven Barth wrote:
>
> 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...
>
To me (being born 12/31) it's funny that that the base is not a 1/1,
especially 1/1/0001. But of course this is completely irrelevant.
-Michael
--
_______________________________________________
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150527/c5d827f6/attachment-0003.html>
More information about the Lazarus
mailing list