⭐ Support Time.now: Join our Premium Plan for an ad-free experience! ⭐ Support Us: Go Premium Ad-Free!

Military Time Chart

Category: Date-Time Format Converters

Complete 24-Hour to 12-Hour Conversion Reference

🕐 Click any row to hear pronunciation
🔍 Search:
Military Time Standard Time Pronunciation Period

Quick Reference Guide

Midnight 00:00 - 00:59
Morning 01:00 - 11:59
Noon 12:00 - 12:59
Afternoon 13:00 - 17:59
Evening 18:00 - 23:59

Conversion Tips

🌅

Midnight to Noon

Add leading zero to hours 1-9. Example: 7:00 AM = 0700

☀️

Noon Hour

12:00 PM stays as 1200. No calculation needed.

🌆

Afternoon/Evening

Add 12 to PM hours. Example: 3:00 PM = 15:00 (3+12=15)

🗣️

Speaking Military Time

Say "zero" for 0, use "hundred" not "thousand". Example: 0800 = "zero eight hundred"

Commonly Used Times

0600
6:00 AM
Early Morning Shift
0900
9:00 AM
Business Start
1200
12:00 PM
Noon/Lunch
1500
3:00 PM
Mid Afternoon
1700
5:00 PM
Business Close
2000
8:00 PM
Prime Time
2300
11:00 PM
Late Night
0000
12:00 AM
Midnight

Practice Quiz

Convert: ----

Score: 0/0

The Military Time Chart generates a complete conversion chart/reference table that converts every hour of the day from 24-hour format to 12-hour standard time. It also provides pronunciation guidance, period filtering, search, and a practice quiz. The tool runs entirely in your browser using JavaScript and does not rely on the current time or any timezone database. It is a static reference, not a live clock.

Key points - The chart loops through all 24 hours (or 96 quarter-hour intervals) to build the table. - Midnight is displayed as 0000, and noon as 1200. - Conversion uses simple arithmetic: hours 13–23 subtract 12 and add PM; hour 0 becomes 12 AM. - Pronunciation follows military conventions, such as "zero eight hundred" for 0800. - The tool never asks for a date or timezone, so it is a static reference, not a live clock.

Jump to a section

How the chart works

The chart is built from a JavaScript array called timeData. On page load, the script runs a loop from hour = 0 to hour = 23. For each hour, it creates an entry with the 24-hour time, the 12-hour standard time, a pronunciation string, and a period label (midnight, morning, noon, afternoon, or evening). It then renders those entries as table rows.

Because the loop runs only over whole hours by default, the initial table shows 24 rows. If you turn on the minutes option, the loop also creates entries at 15, 30, and 45 minutes past each hour, expanding the table to 96 rows. The tool does not read your system clock, so the table never changes unless you interact with the controls.

Conversion formula

The script applies the same arithmetic rules to every entry. Here is how it maps 24-hour hours to 12-hour hours:

| 24-hour hour | 12-hour hour | Period | Example | |---|---|---|---| | 0 | 12 | AM | 0000 → 12:00 AM | | 1–11 | same number | AM | 0900 → 9:00 AM | | 12 | 12 | PM | 1200 → 12:00 PM | | 13–23 | subtract 12 | PM | 1500 → 3:00 PM |

Minutes are copied without change. The script formats the 12-hour time by combining the adjusted hour, the two-digit minute, and the period. For example, if the hour is 14 and the minute is 0, the standard time becomes 2:00 PM.

Worked example 1 Input: 0700 Hour = 7, minute = 0. Since the hour is not 0, not 12, and not greater than 12, the standard hour stays 7 and the period is AM. The output is 7:00 AM.

Worked example 2 Input: 1430 Hour = 14, minute = 30. Because the hour is greater than 12, the script subtracts 12: 14 − 12 = 2, and sets the period to PM. The output is 2:30 PM.

Midnight and noon

Two hours need special treatment. When hour === 0, the script sets the standard hour to 12 and leaves the period as AM. So 0000 becomes 12:00 AM. When hour === 12, the standard hour stays 12 but the period changes to PM. So 1200 becomes 12:00 PM.

The chart never shows 2400 for midnight. It uses 0000 for the start of the day. This is a common convention in 24-hour timekeeping.

Minutes toggle and intervals

The button labeled "Show Minutes" toggles a variable called showMinutes. When it is false, the script uses an array [0] for minutes, so only on-the-hour times appear. When you click the button, showMinutes becomes true, and the script uses [0, 15, 30, 45]. It then clears the old timeData array, regenerates all entries, and re-renders the table.

The minute values are always formatted with two digits using padStart(2, '0'). For example, 7:05 AM becomes 0705 in military time. The tool does not support seconds or custom minute intervals.

Pronunciation guide

The script generates a pronunciation string for each time using the function getPronunciationText. It splits the four-digit military time into two parts: hours and minutes.

  • If hours are 00, it says "zero zero".
  • If hours start with 0 (but are not 00), it says "zero" followed by the hour number without the leading zero. For example, 07 becomes "zero seven".
  • Otherwise, it uses the hour number as is. For example, 14 becomes "fourteen".
  • If minutes are 00, it appends "hundred hours". So 0800 becomes "zero eight hundred hours".
  • If minutes are not 00, it appends the minutes without "hundred hours". So 0815 becomes "zero eight fifteen".

Clicking a row in the table uses the browser's speechSynthesis API to speak the pronunciation string out loud. This works only in browsers that support the Web Speech API.

The time period dropdown filters the table by hour range. The code checks the selected value and keeps rows where:

  • Morning: hour is 0 through 11 (includes midnight).
  • Afternoon: hour is 12 through 17.
  • Evening: hour is 18 through 23.
  • All Day: no filter applied.

The search box filters rows by matching your input against the military time or standard time strings. It checks whether either string includes your search text (case-insensitive). Matching rows are shown and get a highlight class. Non-matching rows are hidden with display: none. Clearing the search or blurring the field when empty re-renders the full table.

Practice quiz

The quiz picks a random entry from timeData. It then randomly chooses to ask either "Convert military to standard" or "Convert standard to military". It creates four answer choices: the correct answer plus three other random entries from the same array. The choices are shuffled. Clicking an answer checks it, updates the score, and after 1.5 seconds loads a new question.

The quiz uses the same timeData array as the chart, so it respects the current minutes setting. The score is stored in two variables, quizScore and quizTotal, and is displayed as a fraction.

Limits and assumptions

The chart is a fixed reference. It does not accept user-entered times, negative hours, or out-of-range minutes. The loop that generates entries starts at 0 and stops before 24. The minute values are limited to what the script provides. There is no validation UI because there is no free-text time input.

The tool does not know about time zones, daylight saving time, or dates. It treats each time as a label on a clock face, not as a moment in a specific location. If you need to convert a timestamp in a specific zone, you would need a different tool that handles timezone rules.

For single-time conversions, the Military Time Converter can help. For adding durations, see the Add Time Calculator. To work with Unix timestamps, try the Epoch Converter.

Military Time Chart Conversion Logic Explained

The International Bureau of Weights and Measures (BIPM) publishes the SI Brochure, which defines the second and the relationships among seconds, minutes, hours, and days. The 24-hour clock is consistent with those standard time units. The Military Time Chart uses whole hours and quarter-hours, which are simple divisions of the hour. It does not perform any scientific timekeeping calculations.

For official definitions, see the BIPM's SI Brochure. The National Institute of Standards and Technology (NIST) also provides time and frequency resources that explain time scales and standards.

Frequently asked questions about Military Time Chart

Why does the chart use 0000 instead of 2400?

The script explicitly sets midnight to hour 0 and formats it as 0000. The value 2400 would be out of range for the loop, which stops before 24.

Can I search for a specific time like 2:30 PM?

Yes. The search box matches against both the military time string and the standard time string. Typing "2:30 PM" will show the row for 1430.

Does the chart show every minute?

No. On the hour it shows 24 rows. With minutes enabled it shows 96 rows at 15-minute intervals. It does not show every single minute.

How is "zero hundred hours" pronounced?

The script generates "zero zero hundred hours" for 0000. For 0100 it generates "zero one hundred hours". Clicking the row will speak the string if your browser supports speech synthesis.

Read next: Islamic Calendar Key Dates 1447