Skip to content
Bai
EspañolEnglishEuskara Get started →

Tools

Unix timestamp converter

Unix timestamp to date and time converter

Turn Unix time in seconds or milliseconds into a date and time, and back again.

Private by design

—UTC

—

Type a timestamp in seconds (10 digits) or milliseconds (13 digits) to see the date, or type a date to get the timestamp. The “Date and time” row uses your device’s time zone.

Unix (seconds)
Unix (milliseconds)
ISO 8601
Date and time

About this tool

Unix time, or epoch time, counts the seconds since midnight UTC on 1 January 1970. It is how many databases, APIs, server logs, JWT tokens and cookies store dates. With this converter you can see at a glance which date a value like 1704067200 stands for, or get the timestamp for a specific date to drop into a query or a script.

The page opens with the current time already converted, so you have a reference example straight away. Clear any row and type your value: use “Unix (seconds)” for 10-digit values and “Unix (milliseconds)” for 13-digit ones, like those returned by Date.now() in JavaScript. The other rows update instantly. Each row has its own copy button, and underneath you will see how long ago or how far ahead that moment is.

The conversion runs in your browser and no data is sent anywhere. ISO 8601 is always shown in UTC, while the “Date and time” row uses your device’s time zone, so people in different countries will see different local times for the same timestamp. Only whole numbers are accepted: trim decimals or microseconds first. The Time zones and Date maths tabs are still there if you need them.

Frequently asked questions

How can I tell whether a timestamp is in seconds or milliseconds?

Count the digits: a present-day date has 10 digits in seconds and 13 in milliseconds. If pasting it into the seconds row gives you a five-digit year, it was in milliseconds.

What is the Unix epoch?

It is time zero for Unix time: 00:00:00 UTC on 1 January 1970. Negative timestamps represent dates before that moment.

What is the year 2038 problem?

Systems that store Unix time in a signed 32-bit integer overflow on 19 January 2038. This tool uses JavaScript numbers, so it converts later dates without trouble.

Does a Unix timestamp depend on the time zone?

No. The same number means the same instant everywhere; only its display as a local date and time changes. That is why you see both the UTC version (ISO 8601) and your local one here.

Related tools