Jump to content

timerinit - can i have the $dif numbers i seconds?


Scripty
 Share

Recommended Posts

From ms to sec you have to devide the result with 1000.

No opt() available just simple math.

Br,

UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

  • Moderators

You can always trim the output down to what you would like. Something like this should work:

$start = TimerInit()
 Sleep(30000)
MsgBox(0, "", StringTrimRight(TimerDiff($start) / 1000, 10))

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

  • Moderators

Caleb41610 already showed you a way to do this in Post #2. Create a couple of variables:

$sec = TimerDiff($start) / 1000
$min = $sec / 60

Edit: Also, please do not PM members with the word HELP. I understand this is urgent for you; doesn't mean it is urgent for us :) Please stick to the forum to ask your questions.

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Caleb41610 already showed you a way to do this in Post #2. Create a couple of variables:

$sec = TimerDiff($start) / 1000
$min = $sec / 60

Edit: Also, please do not PM members with the word HELP. I understand this is urgent for you; doesn't mean it is urgent for us :) Please stick to the forum to ask your questions.

[sOLVED] Thanks

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...