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
-
This post is deleted!
-
@ttt123
Hello,s / 1000000
This is wrong, but you should think carefully why. Run it through the debugger and see what you get from that expression.
PS.
To give you a hint, think what the result of12 / 10
would be.
-
Have a look at QDateTime::fromMSecsSinceEpoch
Cheers.