How to use QDateTime to parse milli/microsecond
-
wrote on 26 May 2016, 04:35 last edited byThis 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. -
wrote on 26 May 2016, 05:02 last edited by
Have a look at QDateTime::fromMSecsSinceEpoch
Cheers.
1/3