Copied!
Unix (s) —
Unix (ms) —
UTC —
Local —
Developer Tool

Unix Timestamp Converter

Convert seconds, milliseconds or ISO dates. Choose explicit units when needed, compare timezones and copy precise results.

⚡ Waiting…

Auto assumes seconds below 100 billion, otherwise milliseconds. Select a unit for ambiguous values. ISO dates without an offset use UTC. Precision: one millisecond.

Timestamp → Date
Date → Timestamp
Pick a date & time

Seconds—
Milliseconds—
UTC—
Date Math
Add / subtract time

Days mean 24 hours. Months and years use the UTC calendar, clamping to the last day of the target month.

Result timestamp — Enter a timestamp above first
ISO —
🕐 POPULAR LOOKUPS

Common Date → Unix Timestamp

Frequently searched conversions. All timestamps at 00:00:00 UTC. Click any card to copy.

June 20, 2024
1718841600
Click to copy
August 1, 2024
1722470400
Click to copy
September 15, 2024
1726358400
Click to copy
December 31, 2024
1735603200
Click to copy
January 1, 2025
1735689600
Click to copy
March 31, 2025
1743379200
Click to copy
June 20, 2025
1750377600
Click to copy
January 1, 2026
1767225600
Click to copy

Frequently Asked Questions

Everything you need to know about Unix timestamps and date conversion.

What is a Unix timestamp?+

A Unix timestamp is the number of seconds elapsed since January 1, 1970 (UTC), known as the Unix epoch. It is a standard way to represent dates and times in programming across all languages and platforms.

Seconds vs milliseconds — what is the difference?+

One second is 1,000 milliseconds. Timestamps can be short, negative or fractional. Auto treats numeric values below 100 billion as seconds and larger magnitudes as milliseconds. Choose Seconds or Milliseconds explicitly for ambiguous values. ISO dates without an offset use UTC.

How do I get the current Unix timestamp in code?+

JavaScript: Math.floor(Date.now()/1000) — Python: import time; int(time.time()) — The tool also shows live code snippets for PHP, Go, and Rust.

What is the Year 2038 problem?+

The largest signed 32-bit Unix timestamp is 2147483647, or January 19, 2038 at 03:14:07 UTC. Systems using that representation need a wider timestamp type. This converter also supports later dates within the browser date range.

How do I add or subtract time from a timestamp?+

Use the Date Math section after entering a valid timestamp. Seconds through weeks use elapsed durations; one day is 24 hours. Whole months and years use the UTC calendar, clamping to the final day of the target month. Invalid amounts clear the result.

Related Tools

More free developer tools

📄JSON Formatter 🕐Cron Builder 🔑UUID Generator 🔒Hash Generator
Famous timestamps — click to load

What is a Unix Timestamp?

A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since January 1, 1970 at 00:00:00 UTC — known as the Unix Epoch. It is the universal standard for representing time in software, used by databases, APIs, programming languages, and operating systems worldwide.

Common Unix Timestamp Values

Here are frequently searched Unix timestamp values for reference:

How to Convert a Date to Unix Timestamp

To convert any date to a Unix timestamp, enter the date or paste an existing timestamp in the input above and the converter will instantly show you the result in seconds, milliseconds, UTC, local time, ISO 8601 format, and relative time. You can also click any of the famous date buttons to quickly load a common timestamp.

Unix Timestamp in Programming Languages

Get the current Unix timestamp in your language: Python: int(time.time()) — JavaScript: Math.floor(Date.now()/1000) — PHP: time() — Go: time.Now().Unix()

Date to Unix timestamp examples

Each example gives the timestamp for midnight UTC. Use the converter above for a different time or timezone.

Unix timestamp converter · Year 2038 problem explained

💬 Feedback