Batch Datumformat in: JAHR-MONAT-TAG

xep22

Banned
Registriert
Apr. 2018
Beiträge
395
ich schreibe sonst nur Bash Scripts aber brauche jetzt ein Windows Batch script und das aktuelle Datum im Format :

Code:
JAHR-MONAT-TAG

Wie mache ich das ? Mit

Code:
%DATE%

erhalte ich

15.04.2020
 
Zurück
Oben