mIRC Homepage
Posted By: SteeleR from secs to hh:nn:ss - 13/03/05 12:05 PM
there was a simple mirc command to convert from secs to hh:nn:ss format and I can't remember what it was ...
can anyone help me ... i know how to do it without this command but ... as i have one it's recommended to be used smile
Posted By: qwerty Re: from secs to hh:nn:ss - 13/03/05 12:07 PM
$duration(SECS,3)
Posted By: FiberOPtics Re: from secs to hh:nn:ss - 13/03/05 12:07 PM
$duration(<seconds>,3)

EDIT: roflmao I think I've been cursed with your old curse qwerty, that's 3 times now laugh
Posted By: SladeKraven Re: from secs to hh:nn:ss - 13/03/05 12:08 PM
The must be a shortened way but this is quite simple.

$gettok($gmt(180),4,32) returns 00:03:00.
Posted By: SladeKraven Re: from secs to hh:nn:ss - 13/03/05 12:09 PM
Heh, alot simpler. Forgot about that. shocked

Edit:

Quote:

EDIT: roflmao I think I've been cursed with your old curse qwerty, that's 3 times now


I'd start worrying if the posts where 100% identical. :tongue:
Posted By: SteeleR Re: from secs to hh:nn:ss - 13/03/05 12:09 PM
10x. .. smile
Posted By: qwerty Re: from secs to hh:nn:ss - 13/03/05 12:12 PM
PWNAGE!
Posted By: FiberOPtics Re: from secs to hh:nn:ss - 13/03/05 12:13 PM
Revenge will be sweet! grin
© mIRC Discussion Forums