Convertidor de 12 horas a 24 horas

Convierte horarios en formato 12 horas AM/PM a formato militar y de 24 horas.

12-hour → 24-hour

Accepts 2:30 PM, 02:30 pm, 12:00 AM, noon and midnight.

Common conversions

12-hour24-hourMilitary
12:00 AM (midnight)00:000000
1:00 AM01:000100
6:30 AM06:300630
11:59 AM11:591159
12:00 PM (noon)12:001200
2:30 PM14:301430
6:00 PM18:001800
11:59 PM23:592359

Cómo funciona

  1. The 12-hour clock repeats 1–12 twice a day with AM (before midday) and PM (after); the 24-hour clock runs 0–23 once. Converting is an hour remap; minutes and seconds pass through unchanged.
  2. Midnight is the special case: 12:00 AM becomes 00:00, and noon 12:00 PM stays 12:00. These two cases cause most off-by-twelve errors and are handled explicitly here.
  3. Anything with an AM/PM marker (or the words noon / midnight) is parsed strictly; invalid input like 0:30 PM is rejected with an explanation instead of a guess.

Información útil

  • Hours on the 12-hour clock run 1–12: 0:30 AM is not a valid time, and the tool says so rather than assuming you meant 12:30 AM.
  • The military (four-digit) form is shown alongside: 2:30 PM is 14:30 and 1430.
  • This tool converts format only. For zone-aware instants, use the time zone converter.

Preguntas frecuentes

What is 12:00 AM in 24-hour time?
00:00. Midnight starts the day, so 12 AM becomes hour zero. Conversely 12:00 PM (noon) stays 12:00. These two cases are the most common source of off-by-twelve errors and are handled explicitly.
What happens to minutes?
Minutes pass through unchanged; only the hour and meridiem determine the 24-hour value. Both 2:30 PM and 2:45 PM map to hour 14.
Is 0:30 AM valid input?
No: on a 12-hour clock hours run 1–12. The tool rejects it and explains the range, instead of guessing that you meant 12:30 AM.