There’s a lot more to the date command than having it report the current date and time. You can change the command’s output format in many ways — report dates in the past and future, convert Unix and ...
If you want to see a particular version or element of a date, use the characters described in the list of options below. %D – Date as mm/dd/yy %Y – Year (e.g., 2020) %m – Month (01-12) %B – Long month ...
for /f "tokens=1,2,3,4 delims=/ " %%a in ( 'date/t' ) do set y=%%d for /f "tokens=1,2,3,4 delims=/ " %%a in ( 'date/t' ) do set m=%%b for /f "tokens=1,2,3,4 delims ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results