๐ฐ๏ธ Unix Timestamp Converter
Enter a timestamp or date/time
Convert between Unix timestamps (seconds since Jan 1, 1970) and human-readable dates. Results are shown in local time, UTC, and ISO 8601 โ handy for programming, log analysis, or inspecting an API response.
How to use
- Enter a Unix timestamp in the "Timestamp" field, or a date in the "Date & Time" field.
- See the converted result in the other format.
- Click "Now" to get the timestamp for the current moment.
How the calculation works
A Unix timestamp (Unix time) expresses a moment as the number of seconds since 00:00:00 UTC on January 1, 1970. It is used by most programming languages, databases and log files. This tool converts between timestamps and dates and shows the result three ways. Local: the date and time in your deviceโs time zone UTC: Coordinated Universal Time ISO 8601: the international format, such as โ2026-09-19T03:00:00.000Zโ You can switch between seconds (10 digits) and milliseconds (13 digits). JavaScriptโs Date.now() returns milliseconds, while most Unix commands and time() in PHP and Python return seconds. The time you opened the page is shown to start with.
Worked example
0 โ 1970-01-01T00:00:00.000Z (the epoch) 1,000,000,000 โ 2001-09-09T01:46:40.000Z (one billion seconds) 1,800,000,000 โ 2027-01-15T08:00:00.000Z That is 17:00:00 on January 15, 2027 in Japan. 2,147,483,647 โ 2038-01-19T03:14:07.000Z (the 32-bit limit, the Year 2038 problem)
Things to be aware of
- A timestamp itself is the same everywhere, regardless of time zone. The local time shown for the same value depends on your device settings.
- Entering a 13-digit value as seconds gives a date far in the future. Check the number of digits to tell seconds from milliseconds.
- Unix time does not count leap seconds, so it differs slightly from the true number of elapsed seconds.
FAQ
Does it support millisecond timestamps?
Yes โ both second-based and millisecond-based timestamps can be entered and converted.
Can I get the timestamp for right now?
Yes โ click the "Now" button to see the current time's Unix timestamp.
Is this useful for reading log file timestamps?
Yes โ paste a Unix timestamp from a server log or API response and instantly see it as a human-readable date.
Can I see both UTC and local time?
Yes โ it shows local time, UTC, and ISO 8601 all at once, which is handy when working across time zones.
What is the Year 2038 problem?
Systems that store Unix timestamps as a 32-bit signed integer can't correctly represent dates after January 19, 2038. Most modern systems use 64-bit values and aren't affected, but it's worth being aware of on older systems.