I must be missing something, as I can't get custom formats to work with the Date command. Reading the help page, I though that putting the format in quotes would change the display, but I am obviously wrong. Here are my tests:
The /f switch does work:C:\ > date /t "YY-MM-DD"
Sun 24/01/2021
C:\ > date /t "%%A"
Sun 24/01/2021
but I can't figure out how to display the date in a custom format. I would bet that I'm misunderstanding the documentation, but I would appreciate if someone could please post an example for me. Thank you in advance.C:\\ > date /t /f0
Sun Jan 24, 2021