Runs entirely in your browser

Unix Timestamp Converter

Convert between Unix timestamps and human-readable dates. Supports seconds and milliseconds.

Current Unix Timestamp
1770041705
seconds
|
1770041705020
milliseconds
|
2/2/2026, 2:15:05 PM
local time

⏱️ Timestamp → Date

📅 Date → Timestamp

seconds
1770041703
milliseconds
1770041703000
ISO 8601
2026-02-02T14:15:03.000Z

Notable Unix Timestamps

About Unix Timestamps

What is a Unix Timestamp?

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

⚠️ Year 2038 Problem

Systems using 32-bit signed integers for Unix timestamps will overflow on January 19, 2038 at 03:14:07 UTC. Modern systems use 64-bit integers to avoid this issue.

How Unix Timestamp Conversion Works

  1. Unix timestamp counts seconds (or milliseconds) since January 1, 1970 00:00:00 UTC
  2. To convert timestamp to date: enter the timestamp and select seconds or milliseconds
  3. To convert date to timestamp: select date and time, then click convert
  4. The tool automatically handles timezone conversions and displays multiple formats
  5. Use the 'Set current timestamp' button to get the current Unix time

Common Examples

API Timestamps

Many APIs return Unix timestamps. Convert 1609459200 to see it represents January 1, 2021 00:00:00 UTC.

Database Storage

Databases often store dates as Unix timestamps for efficiency. Convert between human-readable dates and timestamps for queries.

Log File Analysis

Log files use Unix timestamps. Convert timestamps to readable dates to analyze when events occurred.

JavaScript Date Objects

JavaScript Date.getTime() returns milliseconds since epoch. Divide by 1000 to get seconds, or use milliseconds directly.

Frequently Asked Questions

What's the difference between seconds and milliseconds?

Unix timestamps can be in seconds (10 digits) or milliseconds (13 digits). JavaScript uses milliseconds, while many Unix systems use seconds. This tool supports both.

What is the Unix epoch?

The Unix epoch is January 1, 1970 00:00:00 UTC. All Unix timestamps count from this moment. Timestamp 0 represents the epoch.

How do I handle timezones?

Unix timestamps are always in UTC. When converting to dates, the tool shows both UTC and local time. Always store timestamps in UTC and convert to local time for display.

What is the Year 2038 problem?

Systems using 32-bit signed integers for timestamps will overflow on January 19, 2038. Modern systems use 64-bit integers, which won't overflow for billions of years.

Can I use negative timestamps?

Yes, negative timestamps represent dates before the Unix epoch (before 1970). They're useful for historical dates or relative time calculations.

All conversions happen in your browser • No data is sent to any server

Follow Me