Date & TimeTool 03
Unix Timestamp Converter
Read an epoch value from a log or an API, or produce one for a test. Ten-digit input is treated as seconds and thirteen-digit as milliseconds.
Convert timestamp
43 / 232Result
WaitingRun the tool and the result appears here. Copy it or download it — nothing leaves this tab.
Privacy
Everything you type stays in this tab and is processed by JavaScript on your device. Nothing is uploaded, logged or stored on a server.
How to use it
Paste a timestamp. The digit count decides whether it is seconds or milliseconds.
Read the UTC and local date plus a relative time such as “3 days ago”.
Copy the ISO date or the epoch seconds from the result panel.
When to use it
Log reading
Turn an epoch field into a date you can reason about.
API testing
Generate a timestamp for a request parameter.
Debugging
Check whether a stored value is seconds or milliseconds.
Questions
What is Unix time?
The number of seconds since 1 January 1970 at 00:00 UTC, ignoring leap seconds.
Is the timestamp in my time zone?
No. Unix time is absolute. The tool also shows the local rendering for convenience.
Why does a 13-digit value work?
It is treated as milliseconds, which is common in JavaScript. Ten-digit values are seconds.
How do I convert epoch time to a human date in UTC and local time?
Paste the number and the page shows both readings side by side, plus a relative phrase such as three days ago. Keeping them together matters, because a log written in UTC will look off by hours in your local view.
Can I turn a date back into a timestamp?
Yes. Switch to the opposite mode, pick the date and time, and the page returns epoch seconds. Ten-digit values are seconds and thirteen-digit values are milliseconds, which is the usual difference between a C-era value and a JavaScript one.