Hi,
I´m trying to substract two hours.
QString 1 = "11:00";
QString 2 = "10:00";
I would like to save the result from (11:00 - 10:00) into another QString.
¿Does anyone know how could I do this?
Thanks for replying!
Printable View
Hi,
I´m trying to substract two hours.
QString 1 = "11:00";
QString 2 = "10:00";
I would like to save the result from (11:00 - 10:00) into another QString.
¿Does anyone know how could I do this?
Thanks for replying!
In case you want to calculate the time difference, see QTime::fromString().
Cheers,
_