@echo %date%@Set Year=%date:~0,4%@Set Month=%date:~5,2%@Set Day=%date:~8,2%
@Set CurrentDate=%Year%-%Month%-%Day%
@echo %CurrentDate%
pause