Read a Unix timestamp without counting digits on your fingers
LOCALA log line says 1764547200 and someone asks what day that was. Another service sends 1764547200000 and the first four digits look familiar, but the scale is different. This converter takes either form, shows the UTC ISO string, the time in your own timezone, and the equivalent seconds and milliseconds. The reverse direction turns a date and time from the picker into both units. Everything is computed locally, so timestamps from private logs do not need to be pasted into a stranger's server.
How it works
- 01
Paste the timestamp
Type or paste a number. A value around ten digits is read as seconds since 1970, a value around thirteen digits as milliseconds. The result line tells you which interpretation was used, so a suspicious two-decade shift is visible immediately instead of being silently accepted.
- 02
Read UTC and local time
The ISO line is always UTC and ends with Z. The local line uses the timezone of your browser, which is why the same timestamp can show a different hour on a colleague's laptop. For logs and databases, quote the UTC value; for humans, the local line is easier to check.
- 03
Go the other way
Pick a date and time in the second field. It is interpreted in your local timezone, then shown as Unix seconds and milliseconds. If you need a specific timezone, convert the value and adjust, or work with the UTC string directly; the picker has no timezone selector by design.
- 04
Copy the value you need
The copy button on the ISO row puts an unambiguous string on the clipboard. When pasting into a database, prefer that ISO string over the raw number if the column is a timestamp type; if the column stores integers, use seconds unless the schema says milliseconds.
When to use it
Reading a log entry
An error log shows a request at 1764547200 and a support ticket says it happened in the evening. Converting shows the UTC time and your local time side by side, which settles the question without a spreadsheet formula.
Checking an API payload
A JSON response contains createdAt in milliseconds while another field uses seconds. Convert both and compare: a difference of a factor of 1000 is the most common bug when services written in different languages talk to each other.
Preparing test data
A test needs a fixed date, for example the first second of a month. Pick it in the field and copy the seconds value into the fixture, so the test does not depend on the machine's clock.
Explaining a deadline
A deployment window is defined in UTC but the team is spread across three timezones. Convert the timestamp once and share the local rendering; it is faster than asking everyone to do the arithmetic.
Questions
How does the tool know seconds from milliseconds?
By magnitude: values below 10¹² are treated as seconds, larger values as milliseconds. That works for any date after September 2001 in milliseconds and for all normal second values, but a millisecond timestamp from before 2001 would be read as seconds. The result line states which unit was used, so check it when the date looks wrong.
Why is the ISO time always in UTC?
UTC is the only unambiguous reference: it has no daylight saving and no offset. Local time depends on the browser, the operating system and the date. Showing UTC first means two people comparing the same number always see the same string.
Does the date field handle daylight saving time?
The picker uses your local timezone, including its DST rules for that date. An hour that does not exist because the clock jumps forward will be normalised by the browser, and an hour that occurs twice will resolve to one of them. For anything that must be exact across zones, work in UTC.
What is Unix time exactly?
The number of seconds since 1970-01-01T00:00:00Z, not counting leap seconds. It is convenient because it is a single integer that sorts correctly and ignores timezones. JavaScript uses the same epoch but counts milliseconds, which is where the factor of 1000 comes from.
Why does the year 2038 matter?
Systems that store Unix seconds in a signed 32-bit integer overflow on 2038-01-19. Modern servers and JavaScript use larger types, so this tool is not affected, but an embedded device or an old database column might be. If a timestamp far in the future comes back wrong, check the storage width.
Can I convert a timestamp with a timezone suffix?
The timestamp field expects digits only, because a Unix value has no timezone. For an ISO string such as 2026-12-01T18:00:00+02:00, use the date field or convert the date part manually; mixing an offset into the numeric field will fail validation.
Why is the local time different from what a server log shows?
The local line is rendered with your browser's timezone, which may differ from the server's. That is usually the point: you see the moment in your own clock. If you need the server's rendering, note its timezone and convert with that offset instead of relying on your machine.
Is anything sent to a server?
No. Parsing and formatting use the browser's own Date object, and there is no request carrying the value. That matters for internal timestamps that reveal release dates, incidents or customer activity.