[Qt-interest] how to get datetime as milliseconds ?

Thiago Macieira thiago at kde.org
Wed Apr 21 18:04:46 CEST 2010


Em Quarta-feira 21. Abril 2010, às 11.09.57, Meir Yanovich escreveu:
> Hello
> i need to return current data+time as mili seconds since ( i guess 1970 is
> the default .. )
> i have the time_t that returns seconds , is there build in method for
> milliseconds ?

http://doc.qt.nokia.com/4.7-snapshot/qdatetime.html#toMSecsSinceEpoch

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100421/2ffbebdf/attachment.bin 


More information about the Qt-interest-old mailing list