How to use this timestamp converter
- Timestamp → date: paste a Unix epoch number (seconds or milliseconds — the tool auto-detects by magnitude). You'll get UTC, local time, relative time, day of week, and both second/ms forms.
- Date → timestamp: pick a date and time with the datetime picker, then click Convert → to get the Unix timestamp in seconds and milliseconds.
- Click Now to fill in the current Unix timestamp and see its human-readable form.
What is a Unix timestamp?
- A Unix timestamp (also called epoch time or POSIX time) counts the number of seconds since 1970-01-01 00:00:00 UTC, not counting leap seconds.
- Seconds are common in server logs, APIs and databases. JavaScript and many frontends use milliseconds instead.
- 32-bit signed integers overflow on 2038-01-19 03:14:07 UTC (the Year 2038 problem). This tool handles dates far beyond that.
Common use cases
- Debugging APIs: decode a timestamp returned by an API into a readable date.
- Discord / YouTube / GitHub: these platforms expose raw Unix timestamps in their data — paste them here to read them.
- Databases: convert a stored epoch value to local time for reporting.
- Scripting: cross-check the output of
date +%sorDate.now().
FAQ
- Seconds or milliseconds — how does it know? If the number has 13+ digits it's treated as milliseconds; 9–10 digits as seconds. You'll see both forms in the output.
- Which time zone is "local"? Your browser's time zone, the same one your OS uses.
- Is this tool free? Yes — no sign-up, no ads, runs entirely in your browser.