string getTimeZZ()
{
QDateTime current_date_time = QDateTime::currentDateTime();
QString current_date = current_date_time.toString(“yyyy.MM.dd hh:mm:ss.zzz”);
string time = current_date.toStdString();
return time;
}
获取年月日时间
最新推荐文章于 2024-03-06 14:50:48 发布