Hi everybody,
i am trying to get a time subtraction running, but i somehow seem to bee a dau when i read through the help file.
Basically, i just want a timer that tells me how long my script ran. Heres what i got:
1. FormatTime, var1, T12, Time
2. Outputdebug The current time is %var1%.
3. EnvSub, timestring, %var1%, m
4. Outputdebug, Wir haben %timestring% gespielt.
My thinking process:
Line 1: set the variable var1 in the T12 time format and get the aktuell time
Line 2: tells me in debugfenster the time
Line 3: subtract timestring (set at script start) from var1
Line 4: tell me the difference in T12 time format
Unfortunately i get:
[6576] The current time is 12:10:43. <---- %timestring%
[6576] The current time is 12:10:48. <---- %var1%
[6576] Wir haben gespielt. <---- where is the time difference?
Can someone please help me and tell me where my thoughts are wrong? Probabaly just a format error, but i aint sure.
Thanks in advance for the help!
P.s. Sorry for the double post. Admin please delete the guest post
[ Moderator!: Sure! Deleted it ]