Sorian Posted February 13, 2007 Posted February 13, 2007 Is there any way to convert the number using autoit into seconds? $begin = TimerInit() sleep(3000) $dif = TimerDiff($begin) MsgBox(0,"Time Difference",$dif) It gives a message with a time in milliseconds, 2998.53081...... I would like it to convert it to something close to 2.998 seconds
Valuater Posted February 13, 2007 Posted February 13, 2007 maybe... $begin = TimerInit() sleep(3000) $dif = int(TimerDiff($begin) / 1000) MsgBox(0,"Time Difference",$dif & " seconds") 8)
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