[Lazarus] DateDif function needed

Bart bartjunk64 at gmail.com
Thu Nov 14 18:26:36 CET 2013

On 11/14/13, waldo kitty <wkitty42 at windstream.net> wrote:

> you are completely right, IMHO... one simply needs to choose their desired
> base
> and level of error that is acceptable for their task's needs...

It's all about definition.
For me I would think that given "today" is the last day of a given
month, then "today" + 1 month = the same date on in the next month, or
if the next month has fewer day, the last day of the next month.
- april 30th + 1 month = may 30th
- march 31st + 1 month = may 30th (not june 1st)
Yet all of our "tools" (includimg mine) say march 31st to april 30th =
0 months + 30 days...


More information about the Lazarus mailing list