Convert Epoch Time to Date — Free Instant Converter

Epoch time to date conversion is a routine task in web development, data engineering, and system administration. An epoch value like 1746400000 represents a specific instant: 2026-05-05T00:26:40Z UTC. The conversion is deterministic: epoch divided by 86400 gives days since 1970, the remainder gives the time of day. Millisecond values (13-digit, e.g. 1746400000000) require dividing by 1000 first. Output formats such as ISO 8601 and RFC 3339 date strings are documented in the RFC 3339 specification. Privacy-friendly — all logic executes in your browser, your data stays on your device.

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

  1. 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.
  2. 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.
  3. 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

1777974230

Free — No Limits, No Signup

Convert

or

Results

UTC Time
Local Time
ISO 8601
Relative Time
Unix (seconds)
Unix (milliseconds)
Day of Week
Day of Year
Week Number
Is DST

Epoch Time to Date in Programming Languages

JavaScript

// Convert epoch seconds to ISO date string
new Date(1746400000 * 1000).toISOString()
// → "2026-05-05T00:26:40.000Z"

Python

from datetime import datetime, timezone

# Convert epoch to UTC datetime
datetime.fromtimestamp(1746400000, tz=timezone.utc).isoformat()
# → '2026-05-05T00:26:40+00:00'

PHP

// Convert epoch to formatted date string
echo date('Y-m-d H:i:s', 1746400000);
// → "2026-05-05 00:26:40"

Ruby

# Convert epoch to UTC Time object
Time.at(1746400000).utc
# → 2026-05-05 00:26:40 UTC

Go

import "time"

// Convert epoch seconds to UTC Time
time.Unix(1746400000, 0).UTC()
// → 2026-05-05 00:26:40 +0000 UTC

Bash

# Convert epoch to human-readable date (Linux/macOS)
date -d @1746400000      # Linux (GNU date)
# → Tue May  5 00:26:40 UTC 2026
date -r 1746400000       # macOS (BSD date)

Epoch to Date Conversion Table

EpochUTC DateNotes
0Jan 1, 1970 00:00:00Unix epoch origin
946684800Jan 1, 2000 00:00:00Y2K milestone
1000000000Sep 9, 2001 01:46:401 billion seconds
1609459200Jan 1, 2021 00:00:00Start of 2021
1700000000Nov 14, 2023 22:13:201.7 billion seconds
1735689600Jan 1, 2025 00:00:00Start of 2025
2000000000May 18, 2033 03:33:202 billion seconds
2147483647Jan 19, 2038 03:14:0732-bit max (Y2K38)

Frequently Asked Questions

What format does epoch time use across systems (Linux, Mac, Windows)?

Linux and macOS use signed 64-bit integers (time_t) returning seconds. JavaScript and Java use milliseconds by default (Date.now(), System.currentTimeMillis()). Windows FILETIME counts 100-nanosecond intervals since 1601-01-01. Our converter auto-detects seconds versus milliseconds based on digit count.

How do I convert epoch time to date in Excel or Google Sheets?

In Excel, use =(A1/86400)+DATE(1970,1,1) then format the cell as a date. For millisecond values, divide by 86400000 instead. In Google Sheets, =EPOCHTODATE(A1) accepts epoch seconds directly. Both formulas use UTC — apply a timezone offset manually if needed.

Why is epoch time timezone-independent?

Epoch time counts seconds from a fixed UTC origin (1970-01-01T00:00:00Z) with no timezone information embedded. Two servers in different countries recording the same event store the exact same integer. Timezone is applied only at the display layer when converting the integer to a human-readable string.

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