How to use the unix timestamp converter
- To read a timestamp, paste it in. Seconds and milliseconds are detected automatically, or choose the unit yourself.
- To create a timestamp, pick a date and time and choose whether it is local time or UTC.
- Use 'Use current time' to fill in the live Unix time.
What is Unix time?
Unix time, or epoch time, counts the seconds since 00:00:00 UTC on 1 January 1970. It is how most computers, databases and APIs store moments in time because it is a single number with no time zone. JavaScript and many APIs use milliseconds instead, which gives a 13-digit number.
Seconds or milliseconds?
In auto-detect mode, values above 100,000,000,000 are treated as milliseconds and smaller values as seconds. A current timestamp in seconds has 10 digits; in milliseconds it has 13.
Worked example
The timestamp 1767225600 is 00:00:00 UTC on 1 January 2026. The same moment in milliseconds is 1767225600000.
When you convert a date to a timestamp, choose whether the date you typed is in your local time zone or in UTC. The same clock time gives a different timestamp in each, by the size of your time zone offset. In the UK, local time equals UTC in winter but is one hour ahead during British Summer Time.
Log files, databases and APIs usually store UTC, so if a converted time looks an hour out, check which time zone was assumed.
Frequently asked questions
What is the current Unix timestamp?
It is shown live at the top of the converter and updates every second.
How do I convert a Unix timestamp to a date?
Paste it into the timestamp box and the date is shown in your local time and in UTC.
What is the year 2038 problem?
Systems that store Unix time as a signed 32-bit number run out of room on 19 January 2038. Modern systems use 64-bit values and are not affected.