CalculatorForEver
DATE & TIME / GUIDE

How do I convert AM and PM times to a 24-hour clock?

Calculator ForEver 3 min read

For PM times other than noon, add twelve to the hour. Midnight is 00:00, noon is 12:00, and AM hours from one through eleven keep their hour value.

Handle twelve as a special case

Adding twelve to every PM hour would turn noon into 24:00, which is not the ordinary same-day noon label. Likewise, 12 AM names midnight, not midday. Establish these two anchors before converting the remaining hours.

Convert an afternoon appointment

The time 3:45 PM becomes 15:45. A start of 11:20 AM stays 11:20. Their same-day interval is 4 hours 25 minutes. A start of 11:20 PM becomes 23:20 and would need a next-day end to compare with 03:45 the following morning.

Check format when transferring records

Use the format the input control accepts. Do not enter a PM hour and also add twelve a second time. A clock conversion preserves the local time label; it does not translate between timezones or decide which calendar date belongs to an overnight event.

Anchor the conversion at noon and midnight

Midnight begins a clock day at 00:00 in ordinary twenty-four-hour notation, while noon is 12:00. One minute after midnight is 00:01, and one minute after noon is 12:01. The 12-hour labels are 12:01 AM and 12:01 PM respectively. For AM hours one through eleven, retain the hour number. For PM hours one through eleven, add twelve. This preserves 1:15 PM as 13:15 and 11:50 PM as 23:50 without turning noon into an invalid 24:00 reading. Some timetables use 24:00 for a day's ending midnight, but Calculator ForEver's clock inputs use the standard 00:00–23:59 positions, so include the correct date relationship when crossing midnight.

Verify a converted interval using total minutes

A start at 11:20 AM becomes 11:20, or 680 minutes after midnight. An end at 3:45 PM becomes 15:45, or 945 minutes. Subtracting gives 265 minutes, equal to four hours twenty-five minutes. If the start were 11:20 PM instead, its value would be 23:20 and an end of 03:45 would require a following-day interpretation for a positive overnight interval. The letters change the intended hour by twelve, so omitting them can produce a large error even when the minute digits are correct. Read the source label carefully before converting, and do not add twelve twice if the source already uses a twenty-four-hour hour such as fifteen.

Preserve the local date and timezone separately

Changing 3:45 PM to 15:45 changes the notation, not the instant's location in a timezone. It does not tell you whether the event occurred in another country or whether daylight-saving time applied. A departure and arrival may need zone conversion after their AM/PM labels are understood. For an ordinary local shift, use the recorded dates to choose same-day or next-day end in Calculator ForEver. If a source writes an ambiguous phrase such as midnight on Friday, clarify whether it means the start of Friday or the night ending Friday. Prefer a date plus 00:00 for a precise record. An ambiguous boundary cannot be repaired by a numerical calculator without deciding which date the original writer meant.

Questions about this calculation

Is 12:30 AM just after midnight?

Yes. It is 00:30 in 24-hour notation, thirty minutes after midnight.

Try these values in the calculator

Find the elapsed time between two clock times.

Use the time duration calculator

References

More time duration questions

Related tools