[Lazarus] Alternative to getTime() of JavaScript
silvioprog
silvioprog at gmail.com
Sun Sep 25 20:12:55 CEST 2011
2011/9/25 Sven Barth <pascaldragon at googlemail.com>:
>
> I personally suggest using "DateTimeToUnix" which is located in unit
> "dateutils". It converts a TDateTime to an Unix timestamp (which is the
> count of milliseconds since 1/1/1970). See also here:
> http://www.freepascal.org/docs-html/rtl/dateutils/datetimetounix.html
>
> Regards,
> Sven
I know DateTimeToUnix, but:
getTime: 1317006621430
DateTimeToUnix: 1316963421
--
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