摘要:
@echo offsetlocalset _DateOffsetStart_=%1set _DateOffsetDays_=%2set _StepDays_=-1set _today_=%date%set _yyyy_=%_today_:~0,4%set _MM_=%_today_:~5,2%set _dd_=%_today_:~8,2%call :DateToDays %_yyyy_% %_MM_% %_dd_% _days_rem echo %_days_%set /a _DateOffsetEnd_=%_DateOffsetStart_%-%_DateOffsetDays_%+1for 阅读全文