[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More
Experts Exchange Solution brought to you by
"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.
Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.
This course will introduce you to C++ 11 and teach you about syntax fundamentals.
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
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.