DayReckon

What is this Unix timestamp as a date?

Paste a timestamp to read it as a date, or pick a date and time to get its timestamp. Seconds and milliseconds are both recognized.

Current Unix time
1792836844
Seconds (10 digits) or milliseconds (13 digits).
Read in your own time zone.

Milestone timestamps

MomentTimestampDate (UTC)
The epoch0Thu, 01 Jan 1970 00:00:00 UTC
1 billion seconds1,000,000,000Sun, 09 Sep 2001 01:46:40 UTC
1.5 billion seconds1,500,000,000Fri, 14 Jul 2017 02:40:00 UTC
2 billion seconds2,000,000,000Wed, 18 May 2033 03:33:20 UTC
Largest signed 32-bit value2,147,483,647Tue, 19 Jan 2038 03:14:07 UTC

Getting the current timestamp in code

LanguageSeconds since the epoch
JavaScriptMath.floor(Date.now() / 1000)
Pythonint(time.time())
PHPtime()
JavaInstant.now().getEpochSecond()
Gotime.Now().Unix()
PostgreSQLextract(epoch from now())
MySQLUNIX_TIMESTAMP()
Shelldate +%s

How the conversion works

A timestamp is a count of seconds from 00:00:00 UTC on January 1, 1970. To read it, divide by 86,400 to get whole days since the epoch, step that many days through the calendar, and turn the remainder into hours, minutes and seconds. Going the other way reverses the steps. Your local time is then the UTC time shifted by your time zone’s offset on that date.

Date (UTC) = January 1, 1970 + timestamp ÷ 86,400 days

Questions people ask

What is a Unix timestamp?

It is the number of seconds that have passed since midnight UTC on January 1, 1970, a moment called the Unix epoch. Computers use it because a single number is easy to store, compare and sort, and it means the same instant everywhere in the world.

Is my timestamp in seconds or milliseconds?

Count the digits. A present-day timestamp in seconds has 10 digits (like 1793000000); in milliseconds it has 13. JavaScript’s Date.now() returns milliseconds, while most databases and Unix tools use seconds. This page detects which one you typed.

What is the year 2038 problem?

Older systems store Unix time as a signed 32-bit number, whose largest value is 2,147,483,647. That second arrives at 03:14:07 UTC on January 19, 2038. One second later the number overflows and can wrap round to a date in 1901. Modern systems use 64-bit time, which will not overflow for billions of years.

Do Unix timestamps include leap seconds?

No. Unix time treats every day as exactly 86,400 seconds and simply ignores leap seconds, so it is not a perfect count of elapsed seconds. That simplification is what lets any timestamp be turned into a calendar date with plain arithmetic.

Reviewed October 24, 2026. Spotted a mistake? Tell us.