ToolNimbus

Unix Timestamp Converter

Convert a Unix timestamp (epoch) into a readable date, or turn any date into a timestamp. The tool auto-detects whether your number is in seconds or milliseconds and shows the result in UTC, your local time, and ISO 8601. A live clock shows the current epoch second as it ticks.

Current Unix time

1787650262

seconds since Jan 1, 1970 UTC · Tue, 25 Aug 2026 09:31:02 GMT

How to Use

To decode a timestamp, paste the number into 'Timestamp → date' — the tool detects seconds vs milliseconds and shows all three formats. To go the other way, pick a date and time in 'Date → timestamp' and copy the Unix seconds or milliseconds. The current epoch time updates live at the top.

Why This Tool Is Useful

Unix time — the number of seconds since January 1, 1970 UTC — is how computers store time almost everywhere: in databases, logs, APIs, and JWTs. But a number like 1716239022 means nothing to a human. Developers constantly need to translate between epoch values and real dates while debugging. This converter does it instantly, handles both seconds and milliseconds, and makes the UTC-vs-local distinction explicit so you don't misread a log.

Seconds vs Milliseconds

Unix timestamps come in two common resolutions. Classic Unix time counts whole seconds (10 digits for current dates). JavaScript's Date.now() and many APIs use milliseconds (13 digits). This tool counts the digits to guess the unit: 13 or more digits is treated as milliseconds, fewer as seconds. If a value looks wrong, check whether it should be multiplied or divided by 1000.

UTC vs Local Time

A timestamp itself has no time zone — it's an absolute instant. The confusion comes when you display it. This tool shows both the UTC form (what's usually stored) and your local time (what your machine's zone produces), so you can match whichever your system uses. ISO 8601 is shown too, since it's the safest format to store and share.

The Year 2038 Problem

Systems that store Unix time in a signed 32-bit integer can only count up to 03:14:07 UTC on 19 January 2038, after which the value overflows. Modern systems use 64-bit integers and are unaffected for billions of years, but the '2038 problem' is why you'll still see migrations away from 32-bit time fields.

Common Intervals in Seconds

IntervalSeconds
1 minute60
1 hour3,600
1 day86,400
1 week604,800
30 days2,592,000
365 days31,536,000

Frequently Asked Questions

What is a Unix timestamp?

It's the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970 (the 'Unix epoch'), not counting leap seconds. It's a universal, time-zone-free way to represent an instant.

How do I know if my timestamp is in seconds or milliseconds?

Count the digits. A current timestamp in seconds has 10 digits; in milliseconds it has 13. This tool auto-detects based on length.

Why does the date show differently in UTC and local time?

A timestamp is an absolute instant. Displaying it in UTC versus your local time zone shifts the clock reading by your zone's offset, but it's the same moment.

What is ISO 8601?

It's a standard text format for dates and times, like 2024-05-20T21:03:42.000Z. The trailing Z means UTC. It's the safest format for storing and exchanging dates.

What is epoch time used for?

Databases, log files, APIs, JWT expiry claims, and file metadata all commonly store time as a Unix timestamp because it's compact and unambiguous.

Does the conversion happen on a server?

No. All conversions run in your browser using the built-in Date object, so nothing you enter is uploaded.

Related Tools