Free for PREMIUM members
[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now
Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!
IF /I %HR% GTR 0 (GOTO LoopDate)
SET /A HR=%HR% + 24 :: Changed from 23
SET /A DD=%DD% - 1
SET /A HR=%HR%
:: Added next 4 lines
IF /I %HR% EQU 24 (
SET /A HR=0 :: If at 24 hours set to 00 for midnight
SET /A DD=%DD%+1 :: Add the day back that was previously subtracted.
IF /I %DD% GTR 0 (GOTO DONE)
set /A mm=%mm% - 1
if /I %mm% GTR 0 goto ADJUSTDAY
set /A mm=12
set /A yyyy=%yyyy% - 1
Open in new window
December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.