Timestamp and TTL converter
time_convertConvert Unix epoch timestamps, ISO-8601/RFC 2822 dates, and DNS TTL durations offline into UTC, optional IANA timezone, and human-readable formats. text classifies bare numbers by magnitude (|n| >= 1e11 = Unix ms, 1e8 <= |n| < 1e11 = Unix s, < 1e8 = duration s) and accepts s/m/h/d/w TTLs (1h30m) or dates; timezone defaults to UTC. Use for log timestamps and TTL math, not live DNS lookups (dns_record) or text decoding (encoders). Offline and deterministic; bad timezones or unrecognised strings return isError=true. Requires middle.network auth; uses 1 daily quota unit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "time_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | A Unix timestamp (seconds or milliseconds), a date, or a TTL such as 3600 or 1h30m. | |
| timezone | No | Optional IANA time zone (such as America/New_York or Australia/Sydney) to format alongside UTC. Defaults to UTC. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ISO-8601 UTC timestamp when the result was generated. | |
| ms | No | Elapsed execution time in milliseconds. | |
| data | Yes | Tool-specific structured payload (records, timings, parsed fields, or scores). | |
| tool | Yes | Catalog tool identifier. | |
| share | No | Optional shareable report link metadata. | |
| status | Yes | Overall diagnostic verdict (worst finding wins; no findings = pass). | |
| target | Yes | Normalised domain, IP, or input target. | |
| limited | No | Optional list of upstream data sources that were rate-limited or unavailable. | |
| summary | Yes | Plain-English and technical one-line summaries. | |
| findings | Yes | Ordered diagnostic findings with severity and actionable fixes. |