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 [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
