人妻丰满熟妇AV无码片,岛国AV无码免费无禁网站,丰满岳乱妇一区二区三区,男插女高潮一区二区

Qt c++ 快速輸出當(dāng)前時(shí)間,精確到毫秒

上位機(jī)軟件 2023-03-13 10:31:43

Qt c++ 快速輸出當(dāng)前時(shí)間,精確到毫秒

直接上栗子了:


一行直通:

qDebug()<< QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss.zzz");


多行:

QTime current_time = QTime::currentTime();
int hour = current_time.hour();        //當(dāng)前的小時(shí)
int minute = current_time.minute();    //當(dāng)前的分int second = current_time.second();    //當(dāng)前的秒
int msec = current_time.msec();        //當(dāng)前的毫秒



--------------------
原文地址:https://soft.pbottle.com/a-13829.html

上位機(jī)軟件方案

咨詢小瓶科技
咨詢我們
頂部