Unix Timestamp Converter
Convert Unix timestamps to dates and dates to timestamps, in any time zone.
——Timestamp → date
Date → timestamp
A Unix timestamp counts the seconds since 00:00:00 UTC on 1 January 1970 - the "Unix epoch". Computers use it because a single number is easy to store, compare and sort, and it means the same moment everywhere on Earth. This converter turns timestamps into readable dates in any time zone, and dates back into timestamps.
Seconds, milliseconds, or more?
Different systems count in different units: Unix and most databases use seconds (1761060600, 10 digits), JavaScript and Java use milliseconds (13 digits), and some logging and tracing tools use microseconds (16) or nanoseconds (19). Paste any of them - the unit is detected from the number of digits and shown under the box.
Time zones and daylight saving
A timestamp itself has no time zone; only its display does. Choose any zone to see the local date and time there, with the correct offset for that date - including daylight saving changes. When converting a date to a timestamp, the date and time you enter are treated as local time in the selected zone.
Frequently asked questions
What is the year 2038 problem?
Older systems store timestamps as signed 32-bit integers, which run out at 2,147,483,647 seconds - 03:14:07 UTC on 19 January 2038. After that they wrap around to 1901. Modern systems use 64-bit values, which last for billions of years; this tool handles dates far beyond 2038.
Can timestamps be negative?
Yes - negative values are moments before 1970. For example, -86400 is 31 December 1969.
Do Unix timestamps include leap seconds?
No. Unix time treats every day as exactly 86,400 seconds, so it ignores the leap seconds occasionally added to UTC. That's why it can be converted to dates with simple arithmetic.
Related tools
Compare clocks across cities with the World Clock & Time Zone Converter, or browse all Developer tools.
Runs entirely in your browser - nothing you enter or upload is sent to a server.
Need it to do something else? Request a tool
Related tools
Or browse all Developer tools.