#include <date.au3> dim $mydate dim $mytime $newdate = _DateAdd("d",-1,_NowCalcDate()) MsgBox(0,"",$newdate) _DateTimeSplit($newdate,$mydate,$mytime) msgbox(0,"",$mydate[1] & $mydate[2] & $mydate[3])
举报
#include <date.au3> dim $mydate dim $mytime $newdate = _DateAdd("d",-1,_NowCalcDate()) MsgBox(0,"",$newdate) _DateTimeSplit($newdate,$mydate,$mytime) if $mydate[2]<10 then $mydate[2]="0"&$mydate[2] msgbox(0,"",$mydate[1] & $mydate[2] & $mydate[3]) $mydate=StringSplit($newdate,"/") msgbox(0,"",$mydate[1] & $mydate[2] & $mydate[3])
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-4-20 22:07 , Processed in 0.084136 second(s), 20 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.