Sign in to follow this  
Followers 0

How can i convert this?

4 posts in this topic

Is there a way to make this code:

$begin = TimerInit()


$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.


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

Share this post

Link to post
Share on other sites

It's question of Mathe







$time =Int($temp/3600)&':'&Int(Mod($temp,3600)/60)&':'&Int(Mod($temp,60)))

A lan chat (Multilanguage)LanMuleFile transferTank gameTank 2 an online game[center]L'esperienza è il nome che tutti danno ai propri errori.Experience is the name everyone gives to their mistakes.Oscar Wilde[/center]

Share this post

Link to post
Share on other sites

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
Sign in to follow this  
Followers 0