[Qt-interest] How calculate time span (days, hours, minutes) QDateTime difference?
Jason H
scorp1us at yahoo.com
Thu Jun 10 19:21:49 CEST 2010
ToTime-t() and a lot of modulus operators.
-J
On Jun 10, 2010, at 12:24 PM, Ed Sutton <ESutton at fescorp.com> wrote:
What is the Qt way to calculate the elapsed date time between two QDateTime values?
My goal is to display the difference in days, hours, and minutes.
Thanks in advance,
-Ed
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list