<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 12.11.2013 21:40, John Landmesser
wrote:<br>
</div>
<blockquote cite="mid:5282923C.3040400@online.de" type="cite"><br>
Which is correct?
<br>
<br>
Date1 := 29.2.2000
<br>
Date2 := 28.02.2001
<br>
<br>
Your function:
<br>
0 Y, 11 M, 27 D
<br>
<br>
Rxlib ( Jedi ) DateDiff:
<br>
0 Y, 11 M, 28 D
<br>
<br>
Libre Office Calc:
<br>
0 Y, 11 M, 30 D
<br>
<br>
The table - function of Libre Office Calc is called in german
DATUMDIF()
<br>
<br>
Get a calendar and count??
<br>
<br>
<br>
<br>
<br>
<br>
--
<br>
_______________________________________________
<br>
Lazarus mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
<br>
</blockquote>
<br>
<br>
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=ISO-8859-1">
<table cols="3" border="0" cellspacing="0">
<colgroup span="3" width="85"></colgroup> <tbody>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" height="16" align="LEFT"><b>Jahr 2000</b></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT"><br>
</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT"><br>
</td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" height="16" align="LEFT">Januar</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT">Tage</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT"><br>
</td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" height="16" align="LEFT">Februar</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="29" sdnum="1031;" align="RIGHT">29</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT"><br>
</td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" height="16" align="LEFT">März</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="31" sdnum="1031;" align="RIGHT">31</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT">1. Monat</td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" height="16" align="LEFT">April</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="30" sdnum="1031;" align="RIGHT">30</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT">2. Monat</td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" height="16" align="LEFT">Mai</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="31" sdnum="1031;" align="RIGHT">31</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT">3. Monat</td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" height="16" align="LEFT">Juni</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="30" sdnum="1031;" align="RIGHT">30</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT">4. Monat</td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" height="16" align="LEFT">Juli</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="31" sdnum="1031;" align="RIGHT">31</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT">5. Monat</td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" height="16" align="LEFT">August</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="31" sdnum="1031;" align="RIGHT">31</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT">6. Monat</td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" height="16" align="LEFT">September</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="30" sdnum="1031;" align="RIGHT">30</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT">7. Monat</td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" height="16" align="LEFT">Oktober</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="31" sdnum="1031;" align="RIGHT">31</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT">8. Monat</td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" height="16" align="LEFT">November</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="30" sdnum="1031;" align="RIGHT">30</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT">9. Monat</td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" height="16" align="LEFT">Dezember</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="31" sdnum="1031;" align="RIGHT">31</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT">10. Monat</td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" height="16" align="LEFT"><br>
</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT"><br>
</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT"><br>
</td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" height="16" align="LEFT"><b>Jahr 2001</b></td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT"><br>
</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT"><br>
</td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" height="16" align="LEFT">Januar</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="31" sdnum="1031;" align="RIGHT">31</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT">11. Monat</td>
</tr>
<tr>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" height="16" align="LEFT">Februar</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" sdval="28" sdnum="1031;" align="RIGHT">28</td>
<td style="border-top: 1px solid #000000; border-bottom: 1px
solid #000000; border-left: 1px solid #000000; border-right:
1px solid #000000" align="LEFT"><br>
</td>
</tr>
</tbody>
</table>
<br>
<title></title>
<meta name="GENERATOR" content="LibreOffice 4.1.3.2 (Linux)">
<style>
<!--
BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Arial"; font-size:x-small }
-->
</style>RxLib is correct !!!<br>
</body>
</html>