Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to Call OS Time In Raspberry pi
I want to Call OS Time in Raspberry Pi. And count the total on time hours display it to ui label
Any code example and snippet will be helpful.
Thanks In Advance.
titan83 last edited by
Sorry, I'm very dark probably, but I don't understand what means "Call OS Time".
But you are using Qt, right? Then just use QDateTime.
@titan83 I am talking about Operating System time (OS). current time of Raspberry pi.
@sierdzio thanks for your reply. I will try this QDateTime