0

I have tried this:

@ECHO OFF
SET TIME1=%TIME:~9,10%
ECHO.
ECHO.This is a command!
TIMEOUT /T 1 >NUL
ECHO.
SET TIME2=%TIME:~9,10%
SET /A RESULT=%TIME1% - %TIME2%
ECHO.Variables: %TIME1%, %TIME2%
ECHO.Time in MS: %RESULT%
PAUSE>NUL

But it doesn't quite work... Did I think incorrectly?

0 Answers0