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

Unix Timestamp Converter

Auto-detects seconds vs milliseconds. Convert to any timezone, run date math, and copy code snippets for Python, JS, PHP, Go & Rust — all synced live.

⚡ Waiting…
Timestamp → Date
Python
JavaScript
PHP
Go
Rust
Date → Timestamp
Pick a date & time
Seconds
Milliseconds
UTC
Date Math
Add / subtract time
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?+

Unix timestamps in seconds are 10 digits (e.g. 1700000000). Millisecond timestamps are 13 digits (e.g. 1700000000000). This tool auto-detects which format you are using — no need to specify.

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 maximum 32-bit Unix timestamp is 2147483647, which corresponds to January 19, 2038. After that point, 32-bit systems overflow. 64-bit systems handle timestamps far beyond that date without issue.

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

Use the Date Math section. Select a base timestamp, choose to add or subtract days, hours, minutes or seconds, and see the resulting timestamp and human-readable date instantly.

💚 Like it? Keep it free. GetPDFMint runs on goodwill.

Support GetPDFMint
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()

💬 Feedback