@echo daleko
Dla /f "delims=: . tokens=1-3" %%a w ("%TIME%") USTAWIAĆ HOURS=%%a&SET MINUTES=%%b&SET SECONDS=%%c
USTALONY /A STARTTIME=%HOURS%*3600+%MINUTES%*60+SECONDS
echo %STARTTIME%
echowy Bieg pismo…
Dla /f "delims=: . tokens=1-3" %%a w ("%TIME%") USTAWIAĆ HOURS=%%a&SET MINUTES=%%b&SET SECONDS=%%c
USTALONY /A ENDTIME=%HOURS%*3600+%MINUTES%*60+SECONDS
echo %ENDTIME%
Jeżeli %ENDTIME% LSS %STARTTIME% USTALONY /A ENDTIME=%ENDTIME%+86400
USTALONY /A RUNTIME=%ENDTIME%-%STARTTIME%
echowy Runtime %RUNTIME% sekunda
|