24-hour format: Difference between revisions Discussion View history

(Marked as global wiki page)
m (build a more readable table.)
Line 17: Line 17:
  #####-----#####-----#####-----#####-----#####-----#####-----#####-----#####-->
  #####-----#####-----#####-----#####-----#####-----#####-----#####-----#####-->


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 12-hour time to 24-hour time, use the following table:
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;"
{| class="wikitable" style="margin: 1em auto 1em auto;text-align:right"
|-
|-
! align="left" | 12-hour time !! 24-hour time !! Converting the Hour<br/>from 12 to 24 hour time
! 24-hour time !! 12-hour time
|-
|-
| align="left" | 12:00 AM (midnight) - 12:59 AM
| 00:00 (midnight) || 12:00 {{Red|'''AM'''}}
| align="left" | 0:00 - 0:59
| align="left" | Use 0 for hour.
|-
|-
| align="left" | 1:00 AM - 11:59 AM
| 01:00 || 1:00 AM
| align="left" | 1:00 - 11:59
| rowspan="2" align="left" | Do nothing.
|-
|-
| align="left" | 12:00 PM (noon) - 12:59 PM
| 02:00 || 2:00 AM
| align="left" | 12:00 - 12:59
|-
|-
| align="left" | 1:00 PM - 11:59 PM
| ... || ... AM
| align="left" | 13:00 - 23:59
|-
| align="left" | Add 12 to hour.
| 10:00 || 10:00 AM
|-
| 11:00 || 11:00 AM
|-
| 12:00 (midday) || 12:00 {{Red|'''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.<noinclude>
The minutes remain the same between the two formats.<noinclude>

Revision as of 14:49, 5 August 2015

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.