- Aug 16, 2016
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"
C:\ > date /t "%%A"
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