mIRC Homepage
Posted By: partyboy911 12 Hour time, instead of 24 Hour - 25/11/08 01:04 AM
Hello Everyone.

This seems like something easy.. I read through the Time and Date Identifiers section on help, but didn't find much.

The script I have currently sends time out in a 24 hour military time form. Is there anyway to change it to the 12 hour clock?

Current Script:
Code:
on 1:TEXT:!time:#:{ /msg $chan >- $nick -< The current time where Dylan lives is: $time }


As always,
You guys are awesome!
Posted By: RusselB Re: 12 Hour time, instead of 24 Hour - 25/11/08 01:08 AM
Use $time(h:nn)

See /help $asctime for more information regarding character codes for various formats.
Posted By: partyboy911 Re: 12 Hour time, instead of 24 Hour - 25/11/08 01:39 AM
Thanks! Figured it wasn't too hard of a change.
© mIRC Discussion Forums