mIRC Home    About    Download    Register    News    Help

Print Thread
#114268 13/03/05 12:05 PM
S
SteeleR
SteeleR
S
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

#114269 13/03/05 12:07 PM
Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
$duration(SECS,3)

#114270 13/03/05 12:07 PM
Joined: Feb 2004
Posts: 2,013
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Feb 2004
Posts: 2,013
$duration(<seconds>,3)

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

Last edited by FiberOPtics; 13/03/05 12:07 PM.
#114271 13/03/05 12:08 PM
Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
The must be a shortened way but this is quite simple.

$gettok($gmt(180),4,32) returns 00:03:00.

#114272 13/03/05 12:09 PM
Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
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:

#114273 13/03/05 12:09 PM
S
SteeleR
SteeleR
S
10x. .. smile

#114274 13/03/05 12:12 PM
Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
PWNAGE!

#114275 13/03/05 12:13 PM
Joined: Feb 2004
Posts: 2,013
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Feb 2004
Posts: 2,013
Revenge will be sweet! grin


Link Copied to Clipboard