Skip to main content
Unix Timestamp Converter
Unix Epoch & DateTime ConverterLive Generator
● Live Clock

Unix Timestamp & Epoch Converter

Convert Unix epoch timestamps (seconds & ms) to human-readable dates, UTC, and Excel datetime formats online. Live current epoch clock included.

Seconds, milliseconds & microseconds support
UTC, ISO 8601 and local timezone outputs
Excel & Google Sheets formula snippets
Live epoch clock counter & relative time
Step-by-Step Guide

How to Use Unix Timestamp Converter Online

Follow these quick steps to process your data online directly in your browser with zero latency and 100% privacy.

1
Step 1Detects whether input is epoch seconds (10 digits), milliseconds (13 digits), microseconds (16 digits), or ISO 8601 string.
2
Step 2Instantiates JavaScript Date object in UTC to calculate exact calendar day, month, year, hours, minutes, and seconds.
3
Step 3Outputs ISO 8601, RFC 2822, UTC string, local time, and relative human-readable duration.
4
Step 4Provides ready-to-use Excel and Google Sheets formulas for batch timestamp conversion.
Demonstration

Example Input & Output

Translates seconds elapsed since January 1, 1970 UTC into structured date and time representations across timezones and programming formats.

Input Unix Timestamp or Date
1725200000
Converted Date Details
{
  "epochSeconds": 1725200000,
  "epochMilliseconds": 1725200000000,
  "iso8601": "2024-09-01T14:13:20.000Z",
  "utcDate": "Sun, 01 Sep 2024 14:13:20 GMT",
  "dayOfWeek": "Sunday"
}
Applications

Common Use Cases

Database & Log Timestamps

Translate raw integer timestamps from MySQL, PostgreSQL, MongoDB, Redis, or CloudWatch logs into human-readable date strings.

Spreadsheet Conversion (Excel & Sheets)

Convert epoch timestamps in Excel columns using the formula =A1/86400 + DATE(1970,1,1) formatted as DateTime.

API & Webhook Payload Inspection

Verify exp/iat claims in JWT tokens, Stripe webhook events, and OAuth expiration timestamps.

Multi-Language Development

Convert timestamps across JavaScript (new Date(ts * 1000)), Python (datetime.fromtimestamp), Go, PHP, and SQL.

Guidelines

Specifications & Gotchas

Seconds vs. Milliseconds Mismatch

Passing a 10-digit timestamp (seconds) to a function expecting 13-digit milliseconds produces dates in 1970. Multiply seconds by 1000.

Local Timezone vs UTC Confusion

Unix timestamps are strictly timezone-independent and reference UTC. Always check if your application displays local time with DST offset.

Knowledge

Frequently Asked Questions

What is a Unix epoch timestamp?

A Unix timestamp (also known as POSIX time or Epoch time) represents the number of seconds that have elapsed since 00:00:00 UTC on Thursday, 1 January 1970, not counting leap seconds.

How do I convert a Unix timestamp to a date in Excel or Google Sheets?

For Unix timestamps in seconds, use: =A1/86400 + DATE(1970,1,1). For timestamps in milliseconds, use: =A1/86400000 + DATE(1970,1,1). Then format the destination cell as Date or Date/Time.

How do I convert a regular date into a Unix timestamp in Excel?

To convert an Excel date in cell A1 to Unix seconds, use the formula: =(A1 - DATE(1970,1,1)) * 86400.

How do I convert Unix timestamps in JavaScript and Python?

In JavaScript: new Date(timestamp * 1000).toUTCString(). In Python: from datetime import datetime, timezone; datetime.fromtimestamp(timestamp, tz=timezone.utc).

What is the Year 2038 Problem (Y2038)?

On January 19, 2038 at 03:14:07 UTC, 32-bit signed integer timestamps will overflow into negative numbers. Modern 64-bit systems can store timestamps accurately for over 292 billion years.

Workflow

Related Tools

All Tools →