查看完整内容
举报
#include <Date.au3> $TIME = StringSplit(_NowTime(),":") MsgBox(0,'',$TIME[1]&$TIME[2])
查看全部评分
Dim $timeStr = "15:04:23" MsgBox(0,"",StringRegExpReplace($timeStr,'^([^:]*):([^:]*).*','$1$2'))
#include <Date.au3> $str = StringLeft(StringReplace(_NowTime(),":", ''), 4) MsgBox(0,'',$str)
#include <Date.au3> Local $TIME = _NowTime() Local $Test = StringRegExpReplace($TIME, ':\d+$|:', '') MsgBox(0, '', $Test)
#include <Date.au3> Local $time = StringRegExp(_NowTime(),'(\d{2}):',3) If Not @error Then MsgBox(0,_nowtime(),$time[0]&$time[1])
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-3-13 00:51 , Processed in 0.115959 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.