Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建一个 QDateTime :
QDateTime(QDate(1970,01,01), QTime(0,0,0,0))
当我们在夏天的时候,我会创造
QDateTime(QDate(1970,01,01), QTime(01,0,0,0))
如何知道我们是在夏季时间还是冬季时间?
快速谷歌搜索,你可以在这里阅读所有关于答案的信息:- http://www.zetcode.com/gui/qt4/datetime/
只需在文章中搜索“夏令时”即可。