24-hour format: Difference between revisions Discussion View history

(Added the math to get 24 hour format.)
m (floated table)
 
Line 1: Line 1:
In a [http://en.wikipedia.org/wiki/24-hour_clock 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:
{| class="wikitable" style="margin: 1em auto 1em auto;text-align:right;float:right;"
 
{| class="wikitable" style="margin: 1em auto 1em auto;text-align:right"
|-
|-
! 24-hour time !! 12-hour time
! 24-hour time !! 12-hour time
Line 29: Line 27:
| 23:00 || 11:00 PM
| 23:00 || 11:00 PM
|}
|}
In a [http://en.wikipedia.org/wiki/24-hour_clock 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.
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:
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 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>
* For PM times, add 12 hours to the time: 8:45 PM = 20:45 (in 24-hour format){{clear}}<noinclude>


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


</noinclude>
</noinclude>

Latest revision as of 22:43, 24 April 2017

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

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)