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

Timestamp Converter

Enter a Unix timestamp (seconds since 1970-01-01) to convert it to human-readable date formats, or enter a date to get the Unix timestamp. The tool outputs ISO 8601, RFC 2822, and localized formats with timezone support. Essential for debugging logs, API timestamps, and database values.

string required

Unix timestamp or date string

advanced options
string

IANA timezone (e.g. America/New_York)

X-Sandbox-Remaining: - get an api key

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.
response awaiting request sending
Fill in the fields and send a request. The response lands here.

Run it from your code

A temporary key takes one request and lasts seven days at 20 calls a day. Register and it becomes 75 a day, still free.

$ curl -s "https://apixies.io/api/v1/convert-timestamp?timestamp=1700000000" \
    -H "X-API-Key: $APIXIES_KEY" | jq '.data.iso8601'

"2023-11-14T22:13:20+00:00"

questions

What is a Unix timestamp?

A Unix timestamp is the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC (the "Unix epoch"). It's a universal way to represent time that's independent of timezones and date format conventions.

My timestamp has 13 digits. Is that wrong?

No — that's a millisecond timestamp (common in JavaScript and Java). Standard Unix timestamps have 10 digits (seconds). The tool handles both formats.

cookies

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