mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2004
Posts: 66
C
Cyrex Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Apr 2004
Posts: 66
How can I convert standard time into military time?

For example, how would I convert 9:00PM to 2100?

Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
/help $time

$time(HHnn) would show 2100
$time(HH:nn) would show 21:00


Those who fail history are doomed to repeat it
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
To add to that, you can change the timestamp settings in:

ALT+O > IRC > Messages

and the same type of format applies. Instead of [HH:nn] you would simply have [HHnn].

Also see /help time and date identifiers

Regards,


Mentality/Chris
#80380 09/06/04 03:01 PM
Joined: Sep 2003
Posts: 38
O
Ameglian cow
Offline
Ameglian cow
O
Joined: Sep 2003
Posts: 38
Do something with $asctime(HHnn).


Link Copied to Clipboard