There's a coloration bug in the example code below, where the "DO (" and the closing parathesis ")" are not being properly highlighted.
FOR /F "tokens=2-4 delims=/ " %%P IN ('ECHO %TheDate%') DO (
SET /A Month=100%%P %% 100
SET /A Day=100%%Q %% 100
Thanks to whoever's going to look into it.