ForsakenGod Posted February 2, 2010 Share Posted February 2, 2010 Hello , I ve got a question (probably mostly basic for someone but not for me : ) ) Well lets start : Is there any smart way to manage time ? I mean time gone from somethink . As an example may serve Global $timer = TimerInit() While 1 ToolTip("The time elapsed from the start of programm is " & $timer/1000 & " s",0,0) Wend I think this source is right isnt it ? It makes a variable at start and i divide it by 1000 meaning i should get seconds instead of that i get some number like 37554658.19 at start Link to comment Share on other sites More sharing options...
PsaltyDS Posted February 2, 2010 Share Posted February 2, 2010 Should be: TimerDiff($timer)/1000 Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
ForsakenGod Posted February 2, 2010 Author Share Posted February 2, 2010 Should be: TimerDiff($timer)/1000 Ohh thanks And is there any way to display only whole numbers please ? Link to comment Share on other sites More sharing options...
PsaltyDS Posted February 2, 2010 Share Posted February 2, 2010 Dog ate your help file? Int() Round() Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
ForsakenGod Posted February 2, 2010 Author Share Posted February 2, 2010 Dog ate your help file?Int() Round() Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now