SyntaxFix
Write A Post
Hire A Developer
Questions
I am using the following:
set iso_date=%date:~6,4%-%date:~3,2%-%date:~0,2%
Or in combination with a logfile name 'MyLogFileName':
set log_file=%date:~6,4%-%date:~3,2%-%date:~0,2%-MyLogFileName