#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-2-24 19:18 , Processed in 0.078858 second(s), 19 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.