Unix timestamp converter

Turn a Unix timestamp in seconds or milliseconds into a readable time in UTC and in your own time zone, or turn a date and time into a timestamp. Everything runs in your browser. Nothing is uploaded. For Excel serials and Julian Days, use the date converter.

Unix seconds
Unix milliseconds
ISO 8601, UTC
Readable, UTC
ISO 8601, local
Readable, local

How to convert a Unix timestamp

Paste a timestamp and choose Convert timestamp. Detect automatically reads 10-digit values as seconds and 13-digit values as milliseconds. Decimal seconds such as 1700000000.5 keep the milliseconds.

To go the other way, enter a date as YYYY-MM-DD, an optional time as HH:MM or HH:MM:SS, and whether that time is UTC or your own time zone. When clocks change for daylight saving time, a local time that happens twice uses the earlier one, and a skipped local time moves forward by the size of the jump.

Frequently asked questions

What is a Unix timestamp?

A Unix timestamp counts the seconds since 00:00:00 UTC on 1 January 1970, called the Unix epoch. 1700000000 is 22:13:20 UTC on 14 November 2023. Moments before 1970 are negative.

Is it in seconds or milliseconds?

Most systems use seconds, which have 10 digits for recent dates. JavaScript and many APIs use milliseconds, which have 13. Auto detect reads 12 or more digits as milliseconds. Choose a unit if you know it.

Does a Unix timestamp have a time zone?

No. A timestamp is the same moment everywhere. Only the way it is shown changes. This page shows it in UTC and in the time zone your device uses.

What is the year 2038 problem?

Systems that store Unix time as a signed 32-bit number run out at 2147483647, which is 03:14:07 UTC on 19 January 2038. One second later the number wraps around to 1901. Systems that use 64 bits do not have this limit.

Does Unix time count leap seconds?

No. Unix time treats every day as exactly 86,400 seconds and skips leap seconds, so it is not an exact count of elapsed seconds.

Is the timestamp sent anywhere?

No. The converter runs in your browser and nothing is uploaded.