Unix Timestamp Converter
Convert a Unix timestamp in seconds or milliseconds to a date and time in UTC and your local time zone, or turn a date into a timestamp.
Runs in your browser. Your data is not uploaded.How our tools work
Timestamp → date
Date → timestamp
Unix time counts seconds since 1 January 1970 00:00:00 UTC and is the same everywhere. Leap seconds aren’t counted.
How do I convert a Unix timestamp to a date?
A Unix timestamp counts the seconds since 1 January 1970 00:00:00 UTC. Enter one, choosing seconds or milliseconds, to see the date in UTC, in ISO 8601 and in your local time. For example, 1760000000 is 9 October 2025, 08:53:20 UTC. You can also turn a date and time back into a timestamp.
- Choose whether your timestamp is in seconds (usually 10 digits) or milliseconds (usually 13 digits).
- Enter the timestamp, or select “Use current time”. The date appears in UTC, ISO 8601 and your local time zone.
- To go the other way, enter a date and time under “Date → timestamp” and choose whether it is local time or UTC.
Want to convert timestamps in code, or avoid the usual time zone mistakes? Read our guide: Unix Timestamp Explained: How to Convert Unix Time
Formulas & Methods
Seconds to milliseconds
Example: 1760000000 s = 1760000000000 ms
Date from seconds
Example: 0 = 1970-01-01T00:00:00.000Z; 86400 = 1970-01-02T00:00:00.000Z
Key features
Seconds or milliseconds
Choose the unit explicitly. If the number of digits suggests the other one, you’re told, and nothing is switched silently.
UTC and local time
See the moment in UTC, as ISO 8601, and in your own time zone with its name and offset.
Both directions
Convert a timestamp to a date, or a date and time, read as local time or UTC, to a timestamp.
Full date range
Handles dates before 1970 (negative timestamps) and far in the future, and explains values outside what dates can represent.
Common uses
- Read timestamps in logs, databases and API responses
- Create a timestamp for a scheduled job or test
- Check what time a timestamp is in your time zone
Seconds or milliseconds?
Unix systems, databases and many APIs count seconds: dates around now have 10 digits. JavaScript and Java count milliseconds: 13 digits. Reading one as the other gives a date in January 1970 or tens of thousands of years ahead, so the converter asks which one you have and warns about likely mix-ups.
A timestamp is the same everywhere in the world. Only its display differs by time zone, which is why the UTC and local times are shown separately.
Frequently Asked Questions
What is Unix time?
The number of seconds since 1 January 1970 at midnight UTC, called the Unix epoch. It is the same moment everywhere, whatever the time zone.
How do I know if a timestamp is in seconds or milliseconds?
For recent dates, seconds have 10 digits and milliseconds have 13. The converter warns you if the digits don’t fit the unit you chose.
Can timestamps be negative?
Yes. Negative values are dates before 1970: −86400 is 31 December 1969 at 00:00 UTC.
Does Unix time include leap seconds?
No. Every day counts exactly 86,400 seconds, so leap seconds are not counted.
Why is my local time different from UTC?
Your time zone is offset from UTC, and the offset can change with daylight saving time. The local result shows your zone and its offset at that moment.
Sources
Last updated: