Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to use QDateTime to parse milli/microsecond
ttt123 last edited by
This post is deleted!
s / 1000000
This is wrong, but you should think carefully why. Run it through the debugger and see what you get from that expression.
To give you a hint, think what the result of
12 / 10would be.
Paul Colby last edited by
Have a look at QDateTime::fromMSecsSinceEpoch