[Lazarus] Alternative to getTime() of JavaScript

silvioprog silvioprog at gmail.com
Sun Sep 25 02:14:04 CEST 2011


2011/9/24 Zaher Dirkey <parmaja at gmail.com>:
> What about
> Result := Trunc(Now * MSecsPerDay);
>
> Zaher Dirkey

Fail.

Test to 2011-09-24 21:13:**:
In correct method, result is: 1316941894378
Your method: 3526060294378

-- 
Silvio Clécio
===============================================
Blog - <silvioprog.com.br>
Twitter - <twitter.com/silvioprog>
Facebook - <facebook.com/silvioprog>
LazSolutions - <code.google.com/p/lazsolutions>
LazWebSolutions - <code.google.com/p/lazwebsolutions>
Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR>
===============================================
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===============================================


More information about the Lazarus mailing list