QString str = QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss");
Qt获取当前时间转换为QString
最新推荐文章于 2024-07-15 14:44:54 发布
QString str = QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss");