sure,
today is 17/08/2007 according to %date%
if you typed echo %date:~0,2% it would echo only 17
echo %date:~0,3% would echo 17/ , if you typed echo %date:~2,3%
it would echo /08,expand the variable after the letter with :~ the numbers 0,0
are line positions
@set a=%date:~0,2%-%date:~3,2%-%date:~6,8%-%time:~1,1%-%time:~3,2%-%time:~6,2%-%time:~9,3% << here i used postions that wont show a \ ,so that when you use %A% as a file name. because \ might not allow it, i replaced them with dashes -