Military Time

Is there a way to convert the variable short time to military time? I have to enter a time on a form and it wants military time. IE 3:47 P.M. needs to be entered as 15:47. I'm currently using "Insert Text by Typing %ShortTime%

Thanks for any help

Just use ICUDateTime like this:

KM 0 2021-06-03_16-59-58

The military time you're after is in the KM variable LocalMilTime

See the KM wiki page here: https://wiki.keyboardmaestro.com/token/ICUDateTime

Hope that helps.

Yup, that works...Thanks

1 Like