[Lazarus] DateDif function needed
John Landmesser
JohnML at online.de
Tue Nov 12 21:56:54 CET 2013
On 12.11.2013 21:40, John Landmesser wrote:
>
> Which is correct?
>
> Date1 := 29.2.2000
> Date2 := 28.02.2001
>
> Your function:
> 0 Y, 11 M, 27 D
>
> Rxlib ( Jedi ) DateDiff:
> 0 Y, 11 M, 28 D
>
> Libre Office Calc:
> 0 Y, 11 M, 30 D
>
> The table - function of Libre Office Calc is called in german DATUMDIF()
>
> Get a calendar and count??
>
>
>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
*Jahr 2000*
Januar Tage
Februar 29
März 31 1. Monat
April 30 2. Monat
Mai 31 3. Monat
Juni 30 4. Monat
Juli 31 5. Monat
August 31 6. Monat
September 30 7. Monat
Oktober 31 8. Monat
November 30 9. Monat
Dezember 31 10. Monat
*Jahr 2001*
Januar 31 11. Monat
Februar 28
RxLib is correct !!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131112/99fec5ea/attachment-0003.html>
More information about the Lazarus
mailing list