APImcp
GuidesMath & Time Utilities
ConsoleDocsMCP
Math & Time Utilities ⏱ 1 min read

Timestamp Converter API — Convert Unix Timestamps

Convert Unix timestamps to human-readable ISO dates and vice versa.

01

What is the Timestamp Converter?

The Timestamp Converter API allows you to convert between Unix timestamps (seconds since epoch) and ISO 8601 date strings. You can also get the current Unix time by calling the endpoint without any parameters.

02

How to Use It

Call GET /api/v1/timestamp without params to get the current time. Pass value=1700000000 to convert a Unix timestamp to ISO date, or value=2023-11-14T12:00:00Z&to=unix to convert an ISO date to Unix.

03

Common Scenarios

Reading Unix timestamps from database records and converting to human-readable dates. Formatting API responses that use epoch time. Debugging log file entries with Unix timestamps.

Try it live Test this endpoint in the interactive console
Open Console →

Frequently Asked Questions

What is the Unix epoch?
January 1, 1970, 00:00:00 UTC. Timestamps count seconds since this moment.