Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and vice versa
Convert Unix timestamps to human-readable dates and vice versa
Convert between Unix timestamps and human-readable dates
The live stats bar at the top always shows the current Unix timestamp (in seconds and milliseconds) along with the current UTC and local time. These update every second, so you always have a reference point.
Enter a Unix timestamp number in the Timestamp to Date section. Choose whether it's in seconds or milliseconds, then click Convert. Results show the date in UTC, local time, ISO 8601 format, and day of the week. Use Use Current to auto-fill the current timestamp.
Pick a date and time using the datetime picker in the Date to Timestamp section, then click Convert. The result shows both the seconds and milliseconds timestamp. Use Use Now to auto-fill the current date and time.
If your timestamp is 13 digits, it's in milliseconds. If it's 10 digits, it's in seconds. Using the wrong unit gives dates decades off �� use the dropdown selector to match your format.
In JavaScript: Date.now() returns milliseconds. In Python: time.time() returns seconds. In PHP: time() returns seconds. In Go: time.Now().Unix() returns seconds.
The Unix epoch is January 1, 1970 at 00:00:00 UTC. Timestamp 0 represents this moment. Negative timestamps represent dates before the epoch.
Date.now() and some logging systems use milliseconds (13-digit number). Our tool detects and handles both �� just select the correct unit. A 10-digit timestamp treated as milliseconds would produce a date in 1970, while a 13-digit timestamp treated as seconds would produce a date thousands of years in the future.
The Unix epoch is January 1, 1970 at 00:00:00 Coordinated Universal Time (UTC). This date was chosen as the reference point for Unix time when the first Unix system was being developed. Every Unix timestamp is simply a count of non-leap seconds since this moment. For example, timestamp 3600 means exactly one hour after the epoch.
Unix timestamps offer several advantages over human-readable date formats:
timestamp_a > timestamp_b is always correct.Each programming language has its own way of generating timestamps:
Date.now() �� milliseconds (13 digits)int(time.time()) �� seconds (10 digits)time() �� secondsSystem.currentTimeMillis() �� millisecondstime.Now().Unix() �� secondsUNIX_TIMESTAMP() �� secondsEXTRACT(EPOCH FROM NOW()) �� seconds with decimalWhen debugging logs or working with data from multiple sources, knowing which precision your timestamps use is critical. Our converter handles both, making cross-system timestamp conversion effortless.