How to calculate
Add 12 to afternoon hours except noon. Midnight is hour zero. Format the hour and minute using two digits each.
Worked example
Use Result format Military time · Time to convert 5:42 PM. The result is 1742.
Input and result notes
Enter times such as 1742, 17:42, or 5:42 PM. If entered, seconds are preserved.
CalculatorSoup time and date reference