Skip to content
GET /api/v1/convert-timestamp

Timestamp Converter

Convert between Unix timestamps and human-readable date formats

Parameters

name in type required description
timestamp query string required Unix timestamp or date string
timezone query string optional IANA timezone (e.g. America/New_York) default UTC

Request

Send your key in the X-API-Key header. More languages and patterns live on the code examples page.

curl -s "https://apixies.io/api/v1/convert-timestamp?timestamp=1700000000" \
  -H "X-API-Key: YOUR_API_KEY"

Response

The result sits under data in the standard envelope. See the response format guide for errors and status codes.

returns

data.iso8601
The time in ISO 8601, in the timezone you picked.
data.unix
Unix timestamp in seconds, with milliseconds in unix_ms.
data.human
Readable form, like November 14, 2023 10:13:20 PM.
data.relative
Distance from now, like 2 years ago.
data.rfc2822
RFC 2822 form, the one email headers use.
data.day_of_week
Weekday name, with date and time in their own fields.
example response 200
{
    "status": "success",
    "http_code": 200,
    "code": "SUCCESS",
    "message": "Timestamp converted successfully",
    "data": {
        "input": "1700000000",
        "input_type": "unix_timestamp",
        "timezone": "UTC",
        "unix": 1700000000,
        "unix_ms": 1700000000000,
        "iso8601": "2023-11-14T22:13:20+00:00",
        "rfc2822": "Tue, 14 Nov 2023 22:13:20 +0000",
        "human": "November 14, 2023 10:13:20 PM",
        "date": "2023-11-14",
        "time": "22:13:20",
        "day_of_week": "Tuesday",
        "relative": "2 years ago",
        "converted_at": "2026-09-18T12:00:00+00:00"
    }
}

Authentication and limits

This endpoint needs an API key. Use the sandbox ("try it" above) to test it without registering. See the authentication guide for details.

Standard rate limits apply to this endpoint.

Common use cases

Log analysis

Convert Unix timestamps from server logs into human-readable dates for debugging and analysis. Support multiple timezone conversions.

Scheduling applications

Convert between date formats for scheduling features. Handle timezone conversions for users in different regions.

Data import/export

Convert timestamp formats when importing or exporting data between systems that use different date representations.

More documentation

Get a free API key

A temporary key takes one click and no signup. Register and you get 75 requests/day. Free tier is for development & small projects.

cookies

We use analytics cookies to see how the site gets used. Nothing loads until you accept. Privacy policy