Skip to converter
UnixTimestampConverter

Free Online Unix Timestamp Converter

UnixTimestampConverter

100% Free, Instant & Browser-Based Unix Epoch Timestamp Converter.

Current Unix Epoch Time

0000000000 seconds
0000000000000 milliseconds

Display Timezone

01 Timestamp → Date

waiting…

Paste a Unix timestamp — seconds (10 digits) or milliseconds (13 digits) are auto-detected.

Human-readable date

—

—

02 Date → Timestamp

Pick a year, month, day, time and timezone to get the Unix epoch time.

Unix timestamp (seconds)

—

—

03 Batch Timestamp Conversion

Paste multiple timestamps — one per line, or separated by commas or spaces. Mixed seconds and milliseconds are fine.

Epoch Time Quick Reference

1 minute60 seconds
1 hour3,600 seconds
1 day86,400 seconds
1 week604,800 seconds
1 month (30.44 days)2,629,743 seconds
1 year (365.24 days)31,556,926 seconds
Unix epoch start0 = 1970-01-01 00:00:00 UTC
32-bit limit (Y2038)2147483647

How to Use This Unix Timestamp Converter

  1. Convert a timestamp to a date: paste any epoch value into Timestamp → Date. The tool auto-detects seconds, milliseconds, microseconds or nanoseconds and shows the date, ISO 8601, RFC 2822, UTC string and relative time instantly.
  2. Convert a date to a timestamp: choose year, month, day, time and timezone in Date → Timestamp to get Unix time in seconds and milliseconds.
  3. Switch timezones: tap UTC, Local, EST, PST, GMT, CET, JST or IST — or pick any IANA timezone from the list. Daylight saving time is applied automatically.
  4. Convert in bulk: paste a list of timestamps into Batch Conversion and export the results table as CSV.

What Is a Unix Timestamp (Epoch Time)?

A Unix timestamp — also called epoch time, POSIX time or Unix time — is the number of seconds that have passed since the Unix epoch: 00:00:00 UTC on 1 January 1970, ignoring leap seconds. Because it is one plain number with no timezone attached, it is the standard way to store, sort and compare moments in time across databases, REST APIs, JWT tokens, log files and file systems.

For example, the timestamp 1792224000 represents 2026-10-17T08:00:00Z. The same number refers to the same instant everywhere on Earth — only its local display (e.g. 11:00 in Sofia or 04:00 in New York) changes.

How do I convert a Unix timestamp to a human-readable date?

Paste it into the converter above and read the result. Programmatically, a timestamp in seconds must be multiplied by 1000 before passing it to JavaScript’s new Date(), because JavaScript works in milliseconds. In Python use datetime.fromtimestamp(ts, tz=timezone.utc); in PHP use date('c', $ts).

Seconds vs. milliseconds: what’s the difference?

Today, a seconds timestamp has 10 digits (e.g. 1792224000) and a milliseconds timestamp has 13 digits (e.g. 1792224000000). Unix/Linux, PHP, MySQL and most backends use seconds; JavaScript Date.now(), Java System.currentTimeMillis() and many analytics tools use milliseconds. Microseconds (16 digits) and nanoseconds (19 digits) appear in Go, PostgreSQL and high-precision logs. This tool detects all four by magnitude.

What is the Year 2038 problem?

Software that stores Unix time in a signed 32-bit integer can only count to 2147483647 — 2038-01-19 03:14:07 UTC. One second later the counter overflows to a negative number and wraps back to 1901. Modern 64-bit systems are not affected for roughly 292 billion years.

Common date formats explained

Get the Current Epoch Time in Code

LanguageCurrent timestampTimestamp → date
JavaScriptMath.floor(Date.now() / 1000)new Date(ts * 1000).toISOString()
Pythonint(time.time())datetime.fromtimestamp(ts, timezone.utc)
PHPtime()date('c', $ts)
JavaInstant.now().getEpochSecond()Instant.ofEpochSecond(ts)
Gotime.Now().Unix()time.Unix(ts, 0).UTC()
C#DateTimeOffset.UtcNow.ToUnixTimeSeconds()DateTimeOffset.FromUnixTimeSeconds(ts)
MySQLSELECT UNIX_TIMESTAMP();SELECT FROM_UNIXTIME(ts);
PostgreSQLSELECT extract(epoch FROM now());SELECT to_timestamp(ts);
Bashdate +%sdate -u -d @ts

Frequently Asked Questions

What is Unix Timestamp / Epoch Time?

▾

A Unix timestamp (also called epoch time or POSIX time) is the number of seconds that have elapsed since the Unix epoch: 00:00:00 UTC on Thursday, 1 January 1970, not counting leap seconds. It is a single timezone-independent number, which makes it ideal for storing and comparing moments in time in databases, APIs and log files.

How do I convert Unix timestamp to human-readable date?

▾

Paste the timestamp into the Timestamp to Date field of UnixTimestampConverter. The tool auto-detects whether it is in seconds, milliseconds, microseconds or nanoseconds and instantly shows the date in your chosen timezone plus ISO 8601, RFC 2822, UTC string and relative time. In code, multiply seconds by 1000 and pass it to new Date() in JavaScript, or use datetime.fromtimestamp() in Python.

What is the difference between seconds and milliseconds in Epoch timestamps?

▾

A seconds-based Unix timestamp currently has 10 digits (for example 1792224000), while a milliseconds-based timestamp has 13 digits (for example 1792224000000) and is 1000 times larger. Unix systems, PHP and most databases use seconds; JavaScript Date.now() and Java System.currentTimeMillis() use milliseconds. Divide milliseconds by 1000 to get seconds.

How do I convert a date to a Unix timestamp?

▾

Use the Date to Timestamp panel: choose the year, month, day, time and timezone, and the tool returns the Unix timestamp in seconds and milliseconds. In JavaScript you can use Math.floor(new Date('2026-10-17T00:00:00Z').getTime() / 1000).

Does a Unix timestamp depend on the timezone?

▾

No. A Unix timestamp always counts seconds from 1 January 1970 UTC, so the same moment has the same timestamp everywhere in the world. The timezone only affects how that moment is displayed as a human-readable local date and time.

What is the Year 2038 problem?

▾

Systems that store Unix time as a signed 32-bit integer can only count up to 2147483647, which is 03:14:07 UTC on 19 January 2038. After that the value overflows. Modern systems use 64-bit integers, which push the limit billions of years into the future.

Is this Unix timestamp converter private and free?

▾

Yes. UnixTimestampConverter is 100% free and runs entirely in your browser using native JavaScript Date and Intl APIs. Nothing you type is sent to a server.

Copied!