Calculate Tools
EVERYDAY
Free Online Tool

Unix Timestamp Converter (Epoch to Date)

Convert between Unix epoch timestamps (seconds and milliseconds) and human-readable UTC/local date strings.

Converted Date / Timestamp

Thu, 01 Jan 2026 00:00:00 GMT

Relative Time: 305 days ago

Epoch Seconds
1767225600
Epoch Milliseconds
1767225600000
UTC String
Thu, 01 Jan 2026 00:00:00 GMT
ISO 8601 Format
2026-01-01T00:00:00.000Z
Browser Local Time
1/1/2026, 12:00:00 AM
Relative Age
305 days ago
Unix Epoch Definition

Unix time (POSIX time) is the total number of non-leap seconds elapsed since Thursday, 1 January 1970 00:00:00 UTC. It is universal, independent of daylight saving time adjustments, and forms the bedrock of modern database timestamps and APIs.

About the Unix Timestamp Converter (Epoch to Date)

The Unix Timestamp Converter performs bidirectional conversions between Unix epoch timestamps (in seconds or milliseconds) and human-readable date formats. Fundamental to software development, database querying, server log analysis, and API payload debugging, this tool instantly parses epoch numbers into UTC, ISO 8601, and local timezone strings.

How to Use the Unix Timestamp Converter (Epoch to Date)

Step-by-Step Instructions

  1. Select your Conversion Direction: Unix Timestamp → Human Date, or Human Date → Unix Epoch.
  2. Enter your numeric Unix Timestamp (e.g. 1767225600) or pick a Date & Time.
  3. Use the 'Use Current Timestamp' shortcut to capture the live system epoch right now.
  4. Review your parsed UTC date string, browser local time, ISO 8601 format, and relative age.

Input Fields Explained

Field NameDescriptionRequirementDefault
Conversion DirectionTimestamp to Date or Date to Timestamp.
Required
Timestamp to Date
Timestamp / Date InputNumerical epoch seconds/ms (10 or 13 digits) or ISO date-time picker.
Required
—

How to Interpret the Output

The primary result displays the converted date string in formal UTC format. Supporting items detail exact epoch seconds, milliseconds, ISO 8601 representation, and relative elapsed time (e.g. '2 hours ago' or 'In 5 days').

Assumption: 10-digit integers are automatically detected as epoch seconds; 13-digit integers are recognized as epoch milliseconds.

Unix Timestamp Converter (Epoch to Date) Formula & Calculation Method

Timestamp Seconds = floor(Date.getTime() / 1000) | Date = new Date(Timestamp × 1000)

Variable Definitions

  • Epoch— Total non-leap seconds elapsed since January 1, 1970 00:00:00 UTC
  • Milliseconds— Standard JavaScript/Java timestamp format = Seconds × 1000

Unix time counts continuous seconds elapsed since the 1970 epoch. Multiplying seconds by 1000 initializes the standard JavaScript Date object, enabling formatting across any international timezone.

Worked Calculation Example

Parsing Epoch 1767225600

Input epoch: 1767225600 (seconds).

Step-by-Step Calculation:
  • Identify unit: 10 digits = seconds.
  • Multiply by 1000: 1,767,225,600,000 milliseconds.
  • Resolve UTC date: Thu, 01 Jan 2026 00:00:00 GMT.
  • Format ISO 8601: 2026-01-01T00:00:00.000Z.
Final Result: UTC Date = Thu, 01 Jan 2026 00:00:00 UTC | ISO = 2026-01-01T00:00:00.000Z.

Practical Real-World Use Cases

API & JSON Payload Debugging

Translate backend database timestamps (e.g. created_at: 1729672800) into recognizable calendar dates during software development.

Server & Log File Auditing

Convert Linux and Nginx access log timestamps to pinpoint exact incident and crash times in local timezone.

JWT Token Expiration Verification

Inspect JSON Web Token (JWT) 'exp' and 'iat' claims to verify authorization expiration timeouts.

Important Notes & Limitations

  • Unix timestamps do not count leap seconds; each calendar day is treated as exactly 86,400 seconds.
  • The Year 2038 problem (Y2K38) will overflow 32-bit signed integers on January 19, 2038; our 64-bit engine supports dates millions of years into the future.

Frequently Asked Questions about Unix Timestamp Converter (Epoch to Date)

What is the Unix epoch?

The Unix epoch is the moment 00:00:00 UTC on January 1, 1970. Unix time is the number of seconds that have elapsed since that specific instant, providing a universal, timezone-agnostic timestamp.

How do I know if my timestamp is in seconds or milliseconds?

Count the digits: timestamps in seconds are currently 10 digits long (e.g. 1767225600), while timestamps in milliseconds (used in JavaScript and MongoDB) are 13 digits long (e.g. 1767225600000).

What is the current Unix timestamp?

Click the 'Use Current Timestamp' button in the tool to instantly capture the current epoch second right now.

Related Calculators