mIRC Home    About    Download    Register    News    Help

Print Thread
C
Cyrex
Cyrex
C
How can I convert standard time into military time?

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

Joined: Dec 2002
Posts: 1,536
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,536
/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: 4,670
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 4,670
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,

#80380 09/06/04 03:01 PM
O
Olathe
Olathe
O
Do something with $asctime(HHnn).


Link Copied to Clipboard