Unix Timestamp Converter
Convert Unix timestamps to dates and back, with live current timestamp.
1773754860 1773754860000 Wed, Mar 18, 2026, 05:41:26 AM 1773783686 1773783686000 0 Jan 1, 1970 00:00:00 UTC 946,684,800 Jan 1, 2000 00:00:00 UTC 2,147,483,647 Jan 19, 2038 03:14:07 UTC — max 32-bit signed int 4,294,967,295 Feb 7, 2106 06:28:15 UTC — max 32-bit unsigned int Frequently Asked Questions
What is a Unix timestamp (epoch time)?
A Unix timestamp is the number of seconds elapsed since January 1, 1970 00:00:00 UTC — called the Unix epoch. It's timezone-independent and used universally in programming to represent moments in time. As of early 2025, the current Unix timestamp is approximately 1,740,000,000 seconds.
What is the difference between Unix seconds and milliseconds timestamps?
Standard Unix timestamps are in seconds (10 digits as of 2025). JavaScript's Date.now() and many web APIs use milliseconds — 1000× larger (13 digits). This converter auto-detects which format you've entered: values above 10¹² are treated as milliseconds, lower values as seconds. Always check your API's documentation.
What is the Year 2038 problem?
Many legacy 32-bit systems store Unix timestamps as signed 32-bit integers with a maximum value of 2,147,483,647 — representing January 19, 2038 03:14:07 UTC. At that moment these systems will overflow to a large negative number (interpreted as 1901). Modern 64-bit systems are immune, but embedded systems and old database schemas may still be vulnerable.
How do I convert a date to a Unix timestamp in JavaScript?
Several methods: new Date("2025-01-01").getTime() / 1000 returns seconds. Date.now() / 1000 gives the current time in seconds. Math.floor(new Date("2025-06-15T12:00:00Z") / 1000) gives the exact second. In Python: import time; int(time.time()) or from datetime import datetime; int(datetime(2025,1,1).timestamp()).
Why is January 1, 1970 the Unix epoch?
The date was chosen by the early Unix development team at Bell Labs (Ken Thompson, Dennis Ritchie) in the late 1960s as a convenient round date close to when they were developing the system. Other epoch dates exist: Windows uses January 1, 1601; Apple's Cocoa uses January 1, 2001; GPS uses January 6, 1980.