[Lazarus] DateDif function needed
juergen.hestermann at gmx.de
Sat Nov 9 19:48:25 CET 2013
Am 2013-11-09 18:31, schrieb Michael Van Canneyt:
> On Sat, 9 Nov 2013, Jürgen Hestermann wrote:
>> Storing dates as floats has a lot of drawbacks.
>> It's inaccurate, you always need a starting date and get other problems.
> Can you prove this statement ?
Well, aren't the current mails about incorrect YearsBetween calculation proof enough?
If you need to use an approximate value for days in the year then some is wrong IMO.
For the same difference between two time floats it can be a full year or not
depending on whether a leap year is included or not.
More information about the Lazarus