Quick answer
The timestamp converter turns Unix time into a readable date and also generates Unix time from a date. Timestamps in seconds usually have 10 digits; milliseconds usually have 13 digits.
How to use the timestamp converter
- Paste a Unix timestamp and choose seconds, milliseconds or auto detect.
- Convert the value to see ISO, UTC, local date, seconds and milliseconds.
- To generate a timestamp, select a local date and click generate timestamp from date.
Accepted formats
The converter accepts numeric Unix timestamps in seconds or milliseconds. The date field uses your browser local timezone through the native datetime input.
Conversion logic
milliseconds = seconds x 1000seconds = floor(milliseconds / 1000)Practical example
The timestamp 1719792000 represents 2024-07-01 00:00:00 UTC. In milliseconds, the same instant is 1719792000000.
How to interpret the result
UTC is the universal reference used by servers, APIs and logs. Local time depends on your browser timezone, so it may differ from UTC.
Useful tips
- Use UTC when comparing logs from different servers.
- Use milliseconds when working with JavaScript Date values.
- Check whether an API expects seconds or milliseconds before sending a timestamp.
Frequently asked questions
What is a Unix timestamp?
A Unix timestamp is the number of seconds elapsed since January 1, 1970 at 00:00:00 UTC.
Why do some timestamps have 13 digits?
They are usually timestamps in milliseconds. JavaScript Date values are commonly represented in milliseconds.
Does local time change the timestamp?
The timestamp represents one instant in time. Local time only changes how that instant is displayed.