[Interest] QDateTime and std::chrono

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Fri Nov 2 21:11:26 CET 2018


Il 02/11/18 20:51, Tomasz Siekierda ha scritto:
> UTC time, according to docs
> https://doc.qt.io/qt-5/qdatetime.html#toMSecsSinceEpoch

So you need C++2a's std::chrono::utc_clock, not C++11's system_clock.

Cheers,

-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20181102/5f017405/attachment.bin>


More information about the Interest mailing list