Unix Timestamp Converter

Paste a number to get a date, pick a date to get the number. Ten digits are read as seconds, thirteen as milliseconds.

Now——

Timestamp → date

Date → timestamp

What a Unix timestamp is

The time elapsed since 00:00 UTC on 1 January 1970, counted as one number. Server logs, databases and APIs often pass dates this way. The value has no time zone; the same number shows as different clock times in different zones.

Telling units apart by digits

For present-day dates, 10 digits are seconds (most servers, Unix), 13 are milliseconds (JavaScript, Java), 16 microseconds and 19 nanoseconds. Auto uses this rule; pick the unit yourself if it guesses wrong.

The year-2038 problem

Old systems that store seconds in a 32-bit integer cannot hold values after 19 January 2038. This converter uses JavaScript's 64-bit numbers and has no such limit.

Tips for common situations

Millisecond Timestamps to Readable Time

Paste a 13-digit millisecond timestamp to instantly see UTC, ISO 8601, local time, and a relative label like '5 minutes ago'. The live epoch clock on the page also lets you copy the current timestamp for quick reference.

Date to Epoch Seconds and Milliseconds

Select your reference timezone (UTC or local device time) and enter a date to generate both 10-digit second and 13-digit millisecond timestamps simultaneously. One-click copy buttons let you paste the values directly into database queries or scheduled job configurations.

Database Integer Time to Date String

Paste a 10-digit epoch integer from a database column to convert it into a readable date without writing SQL conversion functions. ISO 8601 output and relative labels like '3 days ago' appear alongside, making data validation quick and straightforward.

Tried with sample values

Screens and numbers from actually running this tool with sample values (2026-10-06, Chromium-based browser on a Mac). Results vary with your input and device.

Timestamp 1790000000 converted to date and time
Timestamp 1790000000 converted to date and time

Entering 1790000000 triggers automatic detection as seconds (10 digits). The result shows Monday, September 21, 2026 at 23:13:20 KST, 14:13:20 UTC, and 2026-09-21T14:13:20.000Z in ISO 8601 format.

Conversion also works in the other direction, from a date to a timestamp. The reference time zone can be set to KST, UTC, or the device's local time zone. Each result has a copy button.

Frequently asked

Can I paste a timestamp with decimals?

Yes. Values like 1790000000.123 from Python's time.time() are read as seconds.

What about negative timestamps?

They are dates before 1970 and convert the same way.

Which time zone is 'Your device'?

The zone your operating system is set to. UTC and Korea are shown alongside for comparison.