Ok, so I found how to get a date as a variable in a batch file scanning StackOverflow and it seems to work on other machines but not the one I generally work on.
Echo Time seems to work OK: C:\Users\matthewh\areaDeploy>echo %TIME% 8:47:47.03
Echo Date gives me this: C:\Users\matthewh\areaDeploy>echo %DATE% _ 8______ __ 8_
I have another PC that gives me: 22/08/2023 A coworker gets: Tue 08/22/2023
I don't know why I have three different formatting methods, or why mine's totally out of whack. In the end I'm trying to add the variable to a file being archived so it will be NameYYYYMMDD