laffo16 Posted September 7, 2006 Share Posted September 7, 2006 is their anyway of displaying $dif in seconds or minutes? $begin = TimerInit() sleep(3000) $dif = TimerDiff($begin) MsgBox(0,"Time Difference",$dif) ive tried using stringtrimright but it doesnt do the job. any help well appreciated. Link to comment Share on other sites More sharing options...
laffo16 Posted September 7, 2006 Author Share Posted September 7, 2006 i should explain a little more, i'm using this command in my GUI to display the overall runtime within a reasonable format. Link to comment Share on other sites More sharing options...
marfdaman Posted September 7, 2006 Share Posted September 7, 2006 How about Round($diff/1000)oÝ÷ Ùú+±ç(ÛÖ®¶se&÷VæBb33c¶Ffbò£c for minutes... Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Link to comment Share on other sites More sharing options...
Valuater Posted September 7, 2006 Share Posted September 7, 2006 maybe... $begin = TimerInit() While 1 sleep(50) $dif = Int(TimerDiff($begin) / 1000) ToolTip("Time Difference " &$dif, 10, 10) WEnd 8) Link to comment Share on other sites More sharing options...
laffo16 Posted September 7, 2006 Author Share Posted September 7, 2006 thats bril, thanks very much Link to comment Share on other sites More sharing options...
Valuater Posted September 7, 2006 Share Posted September 7, 2006 thats bril, thanks very muchthx.... and welcome8) 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