J-Kit
Português

convert unix timestamp to date

Convert Unix timestamp to date

Unix timestamps appear in logs, APIs, databases and HTTP headers. Being able to quickly convert between epoch and human-readable date is indispensable for debugging and system analysis.

Seconds or milliseconds?

  • Original Unix timestamps count seconds since 1970-01-01T00:00:00Z. Modern languages (JavaScript Date, Java Instant.toEpochMilli()) use milliseconds. The heuristic: values above 1×10¹² are likely milliseconds; below, seconds.

Timestamp examples

Epoch zero

Input
0
Expected output
1970-01-01T00:00:00.000Z

The beginning of Unix time — midnight on 1 January 1970 UTC.

Current timestamp (example)

Input
1700000000
Expected output
2023-11-14T22:13:20.000Z

Use the tool with "now" to get the current timestamp.

Full tool FAQ

It is the number of seconds (or milliseconds in JavaScript) elapsed since 1 January 1970 at 00:00:00 UTC. Also called Epoch time or POSIX time, it is the universal format for representing time instants in computing systems.

Frequently asked questions

What is the Y2K38 problem?

Systems that store Unix timestamps in signed 32-bit integers will reach their maximum value on 19 January 2038 at 03:14:07 UTC. Modern systems use int64 and are not affected, but legacy embedded systems may be.

Does this page replace official or professional review?

No. It helps explain the scenario and use the tool more safely, but real decisions should consider official sources, full context and qualified guidance when needed.