@echo off echo Wscript.echo dateadd("d",-1,date)>vbs.vbs for /f %%a in ('cscript //nologo vbs.vbs') do del vbs.vbs&&echo %%a pause
strtotime("Y-m-d","-days"),是不是这个啊