๐ฐ๏ธUnix Timestamp Converter
Convert Unix epoch timestamps to ISO/UTC dates and back. Millisecond timestamps are detected automatically; invalid dates are rejected with clear errors.
Worked examples
1735689600 โ date
GET /api/v1/converters/unix-timestamp-converter?op=to_date&value=1735689600
Result: 2025-01-01T00:00:00.000Z
0 (epoch) โ date
GET /api/v1/converters/unix-timestamp-converter?op=to_date&value=0
Result: 1970-01-01T00:00:00.000Z
2026-01-01T00:00:00Z โ timestamp
GET /api/v1/converters/unix-timestamp-converter?op=to_timestamp&value=2026-01-01T00%3A00%3A00Z
Result: 1767225600
Machine API (x402)
$0.001 / callThis tool is also a JSON API for AI agents. Requests without payment receive 402 Payment Required plus instructions; agents pay USDC on Base via the x402 protocol โ no accounts, no API keys.
GET /api/v1/converters/unix-timestamp-converter?op=to_date&value=1735689600 HTTP/1.1
Host: agenttools-hub.vercel.app
โ 402 (payment required, instructions in headers)
โ 200 (after X-PAYMENT header; JSON body below)
{
"tool": "converters/unix-timestamp-converter",
"input": {"op":"to_date","value":"1735689600"},
"result": { "value": 1735689600000, "answer": "2025-01-01T00:00:00.000Z" }
}Agent docs: /llms.txt ยท OpenAPI spec ยท integration guide
About this tool
The Unix epoch counts seconds since 1970-01-01T00:00:00Z. Convert epoch seconds (or milliseconds โ detected automatically) to ISO 8601 dates, or parse any ISO date back into a timestamp.
ISO date = new Date(unixSeconds ร 1000).toISOString() ยท seconds = floor(ms รท 1000)
Frequently asked questions
Is the Unix timestamp affected by time zones?
No โ epoch time is absolute UTC. Time zones only matter when displaying the human-readable date.
Will timestamps stop working in 2038?
Only 32-bit signed systems overflow on 2038-01-19. Modern 64-bit systems (including this API) are unaffected for billions of years.