[Lazarus] DateDif function needed
Michael Van Canneyt
michael at freepascal.org
Sat Nov 9 19:54:31 CET 2013
On Sat, 9 Nov 2013, Jürgen Hestermann wrote:
> 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
They are not incorrect.
The reporter didn't understand what they are supposed to do.
> If you need to use an approximate value for days in the year then some is
> wrong IMO.
Not if it is clearly documented.
More information about the Lazarus