|24-hour time||12-hour time|
|00:00 (midnight)||12:00 AM|
|12:00 (midday)||12:00 PM|
In a 24-hour format, time is represented with unique hours of the day that do not require the AM and PM indicators. To convert from 24-hour time to 12-hour time (or vice versa), use the table on the right.
The minutes remain the same between the two formats.
Alternately, you can use the following math to convert from AM/PM to 24-hour format:
- For AM times, use the time directly: 8:45 AM = 8:45 (in 24-hour format)
- For PM times, add 12 hours to the time: 8:45 PM = 20:45 (in 24-hour format)