QString str = QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss");
Qt获取当前时间转换为QString
最新推荐文章于 2024-04-12 20:22:36 发布
QString str = QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss");