backup by date using batch script

set TODAY=%date:~0,4%%date:~5,2%%date:~8,2%
mkdir %TODAY%
cd %TODAY%
xcopy /E /Y “C:\backup”

,