24-hour format: Difference between revisions Discussion View history

m (Removed global references)
(Added the math to get 24 hour format.)
Line 29: Line 29:
| 23:00 || 11:00 PM
| 23:00 || 11:00 PM
|}
|}
The minutes remain the same between the two formats.<noinclude>
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)<noinclude>


[[Category:Transcludable pages]]
[[Category:Transcludable pages]]


</noinclude>
</noinclude>

Revision as of 19:23, 24 April 2017

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 following table:

24-hour time 12-hour time
00:00 (midnight) 12:00 AM
01:00 1:00 AM
02:00 2:00 AM
... ... AM
10:00 10:00 AM
11:00 11:00 AM
12:00 (midday) 12:00 PM
13:00 1:00 PM
14:00 2:00 PM
... ... PM
22:00 10:00 PM
23:00 11:00 PM

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)