exodius Posted May 28, 2005 Share Posted May 28, 2005 (edited) In the help file, the _TimeToTicks function has this example listed below it: #include <Date.au3> Global $Sec, $Min, $Hour, $Time ; calculate with time $StartTicks = _TimeToTicks(@HOUR,@MIN,@SEC) ; calculate 45 minutes later $EndTicks = $StartTicks + 45 * 60 * 1000 _TicksToTime($EndTicks,$Hour,$Min,$Sec) MsgBox(262144,'' , 'New Time:' & $Hour & ":" & $Min & ":" & $Sec) How long is a tick? And would someone be nice enough to explain to me the "45 * 60 * 1000" part? Edited May 28, 2005 by exodius Link to comment Share on other sites More sharing options...
Ejoc Posted May 28, 2005 Share Posted May 28, 2005 45 Minutes is 45 * 60 Seconds 1 Second is 1000 Ticks Start -> Programs -> AutoIt v3 -> AutoIt Help File -> Index -> (The Function you are asking about)----- Links -----DllStruct UDFsRSA Crypto UDFs Link to comment Share on other sites More sharing options...
exodius Posted May 28, 2005 Author Share Posted May 28, 2005 45 Minutes is 45 * 60 Seconds1 Second is 1000 Ticks<{POST_SNAPBACK}>Awesome. I suspected as much, and I appreciate the fast confirmation. 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