Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Substracting Time to QTime
Babs last edited by Babs
Is it possible to substract to to a QTime. For example if a have :
and i want to substract 2 hours from it?
Anyone got an idea of how to do so?
Pl45m4 last edited by Pl45m4
You can add a negative amount of seconds
startDayTime.addSecs(-2 * 3600);
Babs last edited by
@Pl45m4 thank you