跳到主要内容

军事时间转换器

在12小时、24小时和军事(数字)格式之间转换时间,以及军事口头形式("Fourteen Thirty Hours")。格式自动检测——粘贴2:30 PM、14:30或1430,一次获得全部四种格式。留空以使用当前时间。

输入

接受12小时格式(带AM/PM)、24小时格式(HH:MM)或军事数字格式(HHMM/HHMMSS)。格式自动检测。留空以使用当前时间。

输出

结果
属性
No data yet
这对您有帮助吗?

使用指南

The Military Time Converter reads a time in whichever common format you paste it in — 12-hour with AM/PM, plain 24-hour, or military numeric — and reports all four representations at once: 12-hour, 24-hour, military numeric ("1430"), and the spoken military form ("Fourteen Thirty Hours"). No need to pick a direction first; the format is auto-detected from the input itself.

Military (and aviation, hospital, and international) time avoids the AM/PM ambiguity of the 12-hour clock by counting straight through to 24: 0900 is 9 in the morning, 2100 is 9 at night. It's written as four digits with no separator — hours first, then minutes — and pronounced digit-by-digit rather than as one number, which is what the "spoken" row reproduces.

How to use it

Type a time into the single field:

  • 12-hour — include AM or PM, e.g. 2:30 PM or 11:59pm. Seconds are optional (2:30:15 PM).
  • 24-hour — a colon-separated time with no AM/PM, e.g. 14:30 or 09:00:45.
  • Military numeric — four digits for hours+minutes (1430), or six digits to include seconds (143015). No colon, no AM/PM.

Leave the field blank to convert the current time.

How is the format detected?

The three accepted shapes don't overlap, so detection is unambiguous: a trailing AM/PM marker means 12-hour, a colon with no AM/PM means 24-hour, and bare digits (4 or 6 of them) mean military numeric. Whichever one you typed, every other representation is computed from it.

How is the spoken form built?

Hour and minute are each read as their own English number word. A single-digit hour or minute is spoken with a leading "Zero" (so 0900 reads "Zero Nine Hundred Hours", the way military radio traffic says "zero-nine-hundred"), and a minute of 00 reads as "Hundred". Seconds aren't included in the spoken form — military time is conventionally spoken to the minute.

Is my data sent anywhere?

No. The conversion runs entirely in your browser, so nothing you type leaves your device.

military time24 hour time12 hour timearmy timetime formatam pm converterhours minutesspoken time

Use it from code

From 3 credits per call

REST API

curl -X POST https://api.iotools.cloud/v1/tool/military-time-converter \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "time": "2:30 PM"
  }'

Swap in your own key from your account. The tool's fields are the body — no wrapper.

Ask an AI agent

Use the IOTools `military-time-converter` tool (Military Time Converter) on this input:

YOUR_INPUT_HERE

Paste this at any agent connected to the IOTools MCP server, then add your input.

喜欢这些工具?去掉广告吧。

一次性付款即可永久移除您账户中的所有广告。无需订阅,不追踪。