Convert Epoch Time to Date — Free Instant Converter
Epoch time is the number of seconds that have elapsed since January 1, 1970 at 00:00:00 UTC — a format used internally by virtually every operating system, database, and API. This free tool converts any epoch timestamp to a human-readable date and time instantly, with no data sent to a server.
What is Epoch Time?
Every computer that needs to record when something happened faces the same challenge: clocks differ, timezones vary, and calendar formats are inconsistent. Epoch time solves all three problems at once. Instead of storing a date string, a system stores a single integer — the number of seconds since the agreed-upon origin: January 1, 1970, 00:00:00 UTC.
This design makes epoch time timezone-independent. Two servers on opposite sides of the world recording the same event will store the exact same integer. When displaying the time to a user, the application converts that integer to the local timezone — but the stored value is always UTC-relative.
Epoch time is also known as Unix time and POSIX time. It is used in file system metadata, database timestamps, JWT tokens, log files, HTTP headers, and virtually every API that needs to express a point in time unambiguously.
How to Convert Epoch Time to a Readable Date
- Identify the unit — a 10-digit number is seconds (e.g.
1700000000); a 13-digit number is milliseconds (e.g.1700000000000). When in doubt, count the digits. - Paste the value into the converter below. The tool auto-detects seconds vs milliseconds and shows the UTC date, local time, ISO 8601 string, and relative time immediately.
- Understand the math — dividing the epoch by
86400(seconds per day) gives the number of full days since January 1, 1970. The remainder divided by 3600 gives the hours; the rest gives minutes and seconds.
For example, epoch 1000000000 divided by 86400 = 11574 full days after January 1, 1970, which lands on September 9, 2001. The remainder 13600 seconds = 3 hours, 46 minutes, 40 seconds — giving 2001-09-09 01:46:40 UTC.
Current Unix Timestamp
1776195270
Convert
Results
Epoch Time to Date in Programming Languages
JavaScript
// Convert epoch seconds to ISO date string
new Date(epoch * 1000).toISOString()
// Example: new Date(1700000000 * 1000).toISOString()
// → "2023-11-14T22:13:20.000Z"Python
from datetime import datetime
# Convert epoch to UTC datetime
datetime.utcfromtimestamp(epoch)
# Example: datetime.utcfromtimestamp(1700000000)
# → datetime(2023, 11, 14, 22, 13, 20)PHP
// Convert epoch to formatted date string
echo date('Y-m-d H:i:s', $epoch);
// Example: date('Y-m-d H:i:s', 1700000000)
// → "2023-11-14 22:13:20"Ruby
# Convert epoch to UTC Time object
Time.at(epoch).utc
# Example: Time.at(1700000000).utc
# → 2023-11-14 22:13:20 UTCGo
import "time"
// Convert epoch seconds to UTC Time
time.Unix(epoch, 0).UTC()
// Example: time.Unix(1700000000, 0).UTC()
// → 2023-11-14 22:13:20 +0000 UTCBash
# Convert epoch to human-readable date (Linux/macOS)
date -d @$epoch # Linux (GNU date)
date -r $epoch # macOS (BSD date)
# Example: date -d @1700000000
# → Tue Nov 14 22:13:20 UTC 2023Epoch to Date Conversion Table
| Epoch | UTC Date | Notes |
|---|---|---|
| 0 | Jan 1, 1970 00:00:00 | Unix epoch origin |
| 946684800 | Jan 1, 2000 00:00:00 | Y2K milestone |
| 1000000000 | Sep 9, 2001 01:46:40 | 1 billion seconds |
| 1609459200 | Jan 1, 2021 00:00:00 | Start of 2021 |
| 1700000000 | Nov 14, 2023 22:13:20 | 1.7 billion seconds |
| 1735689600 | Jan 1, 2025 00:00:00 | Start of 2025 |
| 2000000000 | May 18, 2033 03:33:20 | 2 billion seconds |
| 2147483647 | Jan 19, 2038 03:14:07 | 32-bit max (Y2K38) |
Frequently Asked Questions
What is epoch time?
Epoch time is an integer that counts the number of seconds elapsed since January 1, 1970 at 00:00:00 UTC. Operating systems, databases, and APIs use it internally because it is compact, sortable, and free of timezone ambiguity.
How do I convert epoch to a date?
Divide the epoch value by 86400 to get the number of days since January 1, 1970. The integer part is the day count; the remainder gives the time of day in seconds. Most programming languages provide a built-in function: in JavaScript use new Date(epoch * 1000), in Python use datetime.utcfromtimestamp(epoch).
Is epoch time in seconds or milliseconds?
Epoch time is traditionally measured in seconds — a standard Unix timestamp is a 10-digit number (e.g. 1700000000). However, JavaScript returns milliseconds from Date.now() — a 13-digit number. Always check the digit count to determine the unit.
What timezone is epoch time in?
Epoch time has no timezone — it is an absolute count of seconds from the UTC origin point. When you convert it to a human-readable date you can express it in any timezone, but the underlying number is always UTC-based.
What was the epoch on January 1, 2000?
January 1, 2000 at 00:00:00 UTC corresponds to epoch 946684800. This is exactly 30 years of seconds after the Unix epoch, accounting for leap years between 1970 and 2000.
Can epoch time be negative?
Yes. Negative epoch values represent dates before January 1, 1970. For example, epoch -86400 is December 31, 1969 at 00:00:00 UTC. Most modern languages and 64-bit systems handle negative timestamps correctly.
What is the maximum epoch time for 32-bit systems?
The maximum epoch time for a 32-bit signed integer is 2147483647, which corresponds to January 19, 2038 at 03:14:07 UTC. After this value, 32-bit counters overflow to a negative number — the Year 2038 problem. 64-bit systems do not have this limitation.
Related Tools
Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and back, instantly.
Epoch Converter
Convert epoch timestamps to human-readable dates and times.
Unix Timestamp
Learn about Unix timestamps and get the current value live.
Timestamp to Date
Convert any Unix timestamp to a readable date and time.
Date to Timestamp
Convert dates and times into Unix timestamps.
Epoch Time
Explore epoch time history, standards, and real-world usage.
UTC Time Now
See the current UTC time live with a real-time clock.
Year 2038 Problem
Learn about the Y2K38 overflow and which systems are affected.
Seconds Since 1970
See how many seconds have elapsed since the Unix epoch.
Linux Timestamp to Date
Convert Linux/Unix timestamps to readable dates using command-line tools.
Unix Time to Date
Convert Unix time to a readable date with real-world examples and code.