[Lazarus] DateDif function needed

J├╝rgen Hestermann juergen.hestermann at gmx.de
Thu Nov 14 07:19:56 CET 2013

Am 2013-11-13 19:42, schrieb Reimar Grabowski:
 > 1 julian year = 365.25 days of 86400 SI seconds each.
 > Of course there are lots of other definitions for year but if FPC uses the julian one the value is exact and no approximation

So the difference between 2007-01-01 12:00 and 2008-01-01 12:00 ist *not* one year?
It's only 365,00 days and therefore not a full year according to your definition.
But this it totaly wrong.
Same day same time of one year and the next should always be a one year difference.

More information about the Lazarus mailing list