标签:datatime date ret qdatetime 通过 大小 ati nbsp datetime
QDateTime time1;
QDateTime time2;
uint stime = time1.toTime_t();
uint etime = time2.toTime_t();
int tRet = stime - etime;
通过判断tRet的值来判断time1、time2的大小
标签:datatime date ret qdatetime 通过 大小 ati nbsp datetime
原文地址:https://www.cnblogs.com/hshy/p/11219080.html