(view source code of setdate.bat as plain text)
@ECHO OFF
FOR /F "tokens=*" %%A IN ('DATE/T') DO FOR %%B IN ("%%~A") DO SET Today=%%B
ECHO It's %Today% today
page last modified: 2024-04-16; loaded in 0.0069 seconds