[Lazarus] Alternative to getTime() of JavaScript
silvioprog
silvioprog at gmail.com
Sat Sep 24 00:21:25 CEST 2011
Yes:
MilliSecondsBetween(StrToDateTime('1970-01-01 08:00:00'), now);
Thx.
>> http://hi.baidu.com/orxor/blog/item/814f252c08b6b73c349bf7d9.html
2011/9/23 silvioprog <silvioprog at gmail.com>:
> Hi,
>
> Is there any native function in FPC similar to getTime() of JavaScript?
>
> Thx.
>
> "... The getTime() method returns the number of milliseconds since
> midnight of January 1, 1970 and the specified date."
--
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