Hello,<br>You can do that with ?<br><br><table cellpadding="0" cellspacing="0"><tbody><tr><td valign="top"><p><tt><span class="code"><a href="http://lazarus-ccr.sourceforge.net/fpcdoc/rtl/dateutils/millisecondsbetween.html">
MilliSecondsBetween</a></span></tt></p></td>
<td><p>  </p></td>
<td><p class="cmt">Calculate the number of whole milliseconds between two DateTime values.</p></td></tr></tbody></table><br>between  encodedatetime(1970,1,1,0,0,0,0) and  Present<br><br>I don't test, but it's probably ok.
<br><br>bye<br><br><div><span class="gmail_quote">2007/6/4, TOUZEAU DAVID <<a href="mailto:david.touzeau@fr.kaspersky.com">david.touzeau@fr.kaspersky.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear<br><br>Is there a function that help me to calculate seconds since 1970 year ?<br><br>exactly the same of this command :<br><br>/bin/date +%s -d 20070103<br><br>best regards<br><br><br>--<br>David Touzeau -------------------------- Linux Ubuntu Dapper 
6.0.6<br>FreePascal-Lazarus,perl,delphi,php icq:160018849<br>_______________________________________________<br>fpc-pascal maillist  -  <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br></blockquote></div><br>