Einzelnen Beitrag anzeigen
Alt 02.12.2005, 14:38   #14
helios
Veteran
 
Registriert seit: 21.06.2001
Beiträge: 343


helios eine Nachricht über ICQ schicken
Standard

du willst also dann statt tag=02 lieber tag=2 ?
Code:
if %date:~0,1%==0 (set tag=%date:~1,1%) else (set tag=%date:~0,2%)
echo %tag%
____________________________________
religion is a virus from outer space
helios ist offline   Mit Zitat antworten