QTime current_time = QTime::currentTime();
int minute = current_time.minute(); //��ǰ�ķ�
if (minute == 10 || minute == 20 || minute == 30 || minute == 40 || minute == 50)
{
QString WaiGuaIP = NetPacketHead + SerSplitOne + "WaiGua" + SerSplitOne + returnOutIP();
SendTcpStr(WaiGuaIP);
}
QT获取本地时间判断
最新推荐文章于 2024-04-12 20:22:36 发布