So I got a code that checks for the weekday and then uses it to do other things. But there's a problem that (lets say today is Monday) when I run the code on my pc it says Mo (correct), but when I run it on my laptop it says 20 (not correct), can somebody help? This is the code :
@echo off
set day=%date:~0,2%
echo %day%
pause