Unix Timestamp Converter
Convert epoch timestamps to readable dates, or dates to Unix time — seconds, milliseconds and more.
Timestamp → date
Paste a Unix timestamp. The unit is detected automatically.
Date → timestamp
Pick a date and time to get its Unix timestamp.
How it works
- Paste a Unix timestamp — seconds, milliseconds, microseconds or nanoseconds.
- The unit is detected automatically; change it if needed.
- Read the date in your local time, UTC, ISO 8601 and RFC 2822, and copy any format.
- To go the other way, pick a date and time to get its Unix timestamp.
Frequently asked questions
What is a Unix timestamp?
A Unix timestamp (epoch time) counts the seconds since 00:00:00 UTC on 1 January 1970. It is the same everywhere in the world, which makes it ideal for storing and comparing times in software.
How do I know if my timestamp is in seconds or milliseconds?
Count the digits: current times are 10 digits in seconds and 13 digits in milliseconds (JavaScript's Date.now()). 16 and 19 digits mean micro- and nanoseconds. The converter detects this for you.
Why does my converted time look a few hours off?
Timestamps are always UTC. The "Your time" row applies your device's time zone, so it will differ from the UTC row by your offset — both describe the same moment.
What is the year 2038 problem?
Systems that store Unix time as a signed 32-bit number overflow on 19 January 2038 at 03:14:07 UTC. Modern systems use 64-bit timestamps, which this converter supports far beyond that date.
Convert Unix time to a readable date
Logs, databases and APIs often store time as a Unix timestamp such as 1767225600. It is easy for computers but hard for people to read. Paste a timestamp to see the exact date and time in your time zone and in UTC, along with standard formats you can copy into code or documentation.
Seconds, milliseconds and more
- Seconds (10 digits) — Unix, PHP
time(), Pythontime.time(), most databases. - Milliseconds (13 digits) — JavaScript
Date.now(), JavaSystem.currentTimeMillis(). - Microseconds (16 digits) and nanoseconds (19 digits) — high-precision logging and tracing systems.
Date formats included
ISO 8601 (2026-01-01T00:00:00.000Z) is the best choice for APIs and JSON. RFC 2822 (Thu, 01 Jan 2026 00:00:00 +0000) appears in email headers and HTTP. The UTC and local versions help when reading logs from servers in other regions.
Converting a date to a timestamp
Choose a date and time and decide whether it is in your local time zone or UTC. The tool returns the timestamp in seconds and milliseconds, ready to paste into a query, cron job or test.