Author Topic: Game Bar Discussion  (Read 1454 times)

Tom

Thats the only way to figure out Army Time. Hour - 12.
Or Hour % 12. It's actully a much simpler way of doing it in script because you don't need to check if the hour is over 12.

Or Hour % 12. It's actully a much simpler way of doing it in script because you don't need to check if the hour is over 12.
Yeah, what I was going to say. Something like this will work:
Code: [Select]
%time = (%hour24 % 12) @ (%hour24 >= 12 ? "pm" : "am");