Military Time Converter API - 24-hour & 12-hour AM/PM, Zulu, shift duration & batch
military_time_converterConvert 24-hour / military time (1430, 14:30, 0000, 1430Z) to 12-hour AM/PM time and back. Returns 4-digit military time, ISO 24-hour, 12-hour AM/PM, spoken military phrasing, optional Zulu (UTC) / IANA timezone conversion, and overnight shift duration. Single or batch up to 1,000 items. 0 AI, pure stdlib deterministic, < 5 ms, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/military-time-converter.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "1430",
"compareTo": "2245"
},
"name": "military_time_converter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Time string in military/24h (1430, 14:30, 1430Z) or 12h (2:30 PM) format | 1430 |
| inputs | No | Optional batch list of up to 1,000 times | |
| compareTo | No | Optional end time to calculate shift duration (handles overnight shifts) | |
| toTimezone | No | Optional target IANA timezone (e.g. UTC, Europe/London) | |
| fromTimezone | No | Optional source IANA timezone (e.g. America/New_York, UTC) |