Does anyone know how to set YYMMDD (not 4xYYYY) as a date format in batch? All i found was yyyymmdd, but I just need the two last numbers in the year. So instead of 2015, I need 15 as the output.
I've got this so far;
set mydate=%date:~6,4%%date:~3,2%%date:~0,2%
echo %mydate%
This gives me todays date in this format; 20151214
, which isn't what I need.