Jump to content

Recommended Posts

Posted

Is there a way to make this code:

$begin = TimerInit()

sleep(3000)

$dif = TimerDiff($begin)

MsgBox(0,"Time Difference",$dif)

to isplay the time in hours/minutes/secconds, which ever is the case?

I did $dif / 1000 but i still get that nasty point after the secconds (too many numbers). and also it's only seconds, i would like to display minutes and hours also.

And if no, is there another way to display a message box with how much time the application has stayed opened? But to display that in hours/minutes/secconds, and not milliseconds.

Thanks.

[font="Tahoma"]pr0tected by smith & wesson[/font]

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...