Date and time

12 and 24-Hour Time Converter

Convert between 12-hour am/pm time, 24-hour time and military time.

Rules last checked 25 October 2026Every step shown

Your numbers are saved in this browser.

Type 24-hour time (18:45 or 1845) or 12-hour time (6:45 pm).

12-hour

6:45 pm

24-hour
18:45
Military
1845 hours

18:45 is 6:45 pm.

How it's worked out

  1. Afternoon or evening18 − 12 = 6, pm6:45 pm

How to convert

13:00 to 23:59: subtract 12, pm · 00:00 to 00:59: 12, am · 12:00 to 12:59: 12, pm · 01:00 to 11:59: same, am

Worked example

18:45 is 18 − 12 = 6, so 6:45 pm, or 1845 hours in military time.

Questions people ask

What is 18:45 in 12-hour time?

6:45 pm. For any hour from 13 to 23, subtract 12 and add pm.

What is 00:30 in 12-hour time?

12:30 am: just after midnight.

What is military time?

24-hour time written without the colon and read as hours: 18:45 is 1845 hours.

About this calculator

Formula and rules last checked 25 October 2026Written and tested by the CalculatorDex teamReport a problem