Date Time Converter

Convert epoch to human-readable date and vice versa.

Current Timestamp

1788502780
UTC
2026-09-04 06:19:40

Timestamp to Human Readable

Human Readable to Timestamp

What is a Unix timestamp?

A Unix timestamp is the number of seconds since 1970-01-01T00:00:00Z in UTC. It is widely used because it is compact, sortable, and easy for computers to compare across systems.

This page helps with two common tasks:

  • convert a timestamp in seconds or milliseconds into a readable date
  • convert a readable date back into a Unix timestamp

Seconds vs milliseconds

Different systems store time differently:

Format Example Meaning
Seconds 1723636800 10-digit Unix timestamp
Milliseconds 1723636800000 13-digit JavaScript-style timestamp

If a result looks wildly off, the most common reason is choosing the wrong unit.

Common reference values

Human-readable time Seconds
1 minute 60
1 hour 3,600
1 day 86,400
1 week 604,800
1 year (365 days) 31,536,000

Time zone notes

The timestamp itself is not tied to a local time zone. Time zones only affect how the value is displayed as a human-readable date.

When converting from a readable date back to a timestamp, this tool uses the selected time zone to interpret the input when no explicit offset is present.

Quick examples

JavaScript

const seconds = Math.floor(Date.now() / 1000);
const readable = new Date(seconds * 1000).toISOString();

Python

import time

seconds = int(time.time())

PostgreSQL

SELECT EXTRACT(EPOCH FROM now());
SELECT TO_TIMESTAMP(1723636800);

© 2016-2026 loveai. All rights reserved.