Epoch Converter
Convert epoch time to a human-readable date and back again โ and watch the current epoch tick live. Everything runs securely in your browser.
Convert Timestamp to Date
Convert Date to Timestamp
What is Epoch Time?
Epoch time โ also known as Unix time or POSIX time โ is the number of seconds that have passed since 00:00:00 UTC on 1 January 1970, the "Unix epoch". Because it is a single ever-increasing number, it is the standard way computers store and exchange points in time without worrying about time zones or daylight saving. This free epoch converter runs entirely in your browser, so nothing you type is ever uploaded.
Epoch milestones
- 0 โ 1 January 1970, 00:00:00 UTC (the epoch itself)
- 1,000,000,000 โ 9 September 2001, 01:46:40 UTC
- 1,500,000,000 โ 14 July 2017, 02:40:00 UTC
- 2,000,000,000 โ 18 May 2033, 03:33:20 UTC
- 2,147,483,647 โ 19 January 2038, 03:14:07 UTC (32-bit overflow โ the "Year 2038 problem")
Getting the epoch in code
- JavaScript:
Math.floor(Date.now() / 1000) - Python:
import time; int(time.time()) - Java / Kotlin:
System.currentTimeMillis() / 1000 - C# / .NET:
DateTimeOffset.UtcNow.ToUnixTimeSeconds() - SQL (MySQL):
SELECT UNIX_TIMESTAMP(); - Shell:
date +%s
Seconds or milliseconds?
A 10-digit value is almost always seconds, while a 13-digit value is milliseconds (used by JavaScript's Date.now() and Java). This converter handles both โ just pick the unit next to the input.
Frequently Asked Questions
What is epoch time?
Epoch time (Unix time) is the number of seconds elapsed since 00:00:00 UTC on 1 January 1970. It gives every moment a single unambiguous number, independent of time zones.
Is epoch time the same as a Unix timestamp?
Yes โ epoch time, Unix time and POSIX time all refer to the same count of seconds since 1 January 1970 UTC, and the terms are used interchangeably.
What is the current epoch time?
The live counter at the top of this page shows the current epoch in seconds and updates every second โ copy it with one click.