MilitaryTime

Military time API

One GET request. Send a time in any format, get back military time, 12-hour time, how to say it, and the radio phonetics. Free, no key, CORS enabled.

GET https://militarytime.com/api/v1/convert?time=1730&zone=Z

Parameters

NameRequiredAccepts
timeYes1730, 17:30, 5:30 PM, 5pm, noon, midnight, 2400
zoneNo (default Z)Letter A–Z or name: zulu, romeo, alfa

Response

{
  "input": "1730",
  "valid": true,
  "minuteOfDay": 1050,
  "time24": "1730",
  "time12": "5:30 PM",
  "spoken": "seventeen thirty hours",
  "radio": "One Seven Three Zero Zulu",
  "radioIcao": "WUN SEV-EN TREE ZE-RO ZOO-LOO",
  "zone": {
    "letter": "Z",
    "name": "Zulu",
    "offset": 0,
    "label": "UTC+0"
  },
  "utcOffsetISO": "Z"
}

Invalid input returns HTTP 400 with { "error": "..." } explaining what to fix. Successful responses are cached for a day.

Try it

Press Send request to see the live response.

Need more volume or an SLA?

The free API is fine for most apps. If you plan to send a lot of traffic, leave your email and we will get in touch about a dedicated key.

One email with the download, then occasional tips. Unsubscribe any time. Privacy