I'm trying to interpret a former colleague's script that is failing.
It has the following syntax:
set CREATIONDATE=%date:~-4%%date:~3,2%%date:~0,2%
I think this is intended to be 'today's date' in some fashion.
On my machine this returns '2019 0Tu'. Seems like garbage.
This colleague worked in Germany. I work in the United States. I wonder if the date format mismatches or regional settings play a part here. Can some explain what the above attempts to do?