Skip to content
NexUnit home
EnglishEspañol

Military Time Converter

Convert between 12-hour (AM/PM) time and 24-hour military time.

Military time

1545 hours

12-hour time
3:45 PM
24-hour clock
15:45

Show the work

  1. Hour on the 24-hour clock: add 12 for PM (12 AM is hour 0)

    H = (hour mod 12) + 12 for PM, + 0 for AM

    (3 mod 12) + 12 = 15

  2. Hours 15 and minutes 45, as four digits

    HHMM

    1545 hours

Want this on your site? Embed the military time converter.