Timestamp / Epoch Converter
What is a Unix Timestamp?
A Unix timestamp (or Epoch time) represents a point in time as the number of elapsed units since the Unix Epoch—00:00:00 UTC on January 1, 1970. Depending on the language or database, timestamps are represented in seconds (Python, PHP), milliseconds (JavaScript, Java), microseconds (Python time_ns, PostgreSQL), or nanoseconds (Go, Kafka, Rust).
Why Use Our Epoch Converter?
Built specifically for developers and system administrators, our tool includes a live sub-second clock and a smart parser that automatically distinguishes between seconds, milliseconds, microseconds, nanoseconds, and hexadecimal timestamps. It auto-detects your local browser timezone and offers 1-click offsets (Now, Start of Day, ±1h, ±1d, ±7d).
What this tool does
What this tool does
- Sub-second precision: Full support for seconds, milliseconds (ms), microseconds (µs), and nanoseconds (ns)
- Timezone auto-detection: Automatically detects your local browser timezone with a comprehensive world timezone selector
- Developer formats: Outputs SQL Datetime, ISO 8601, RFC 2822, Epoch Hex, relative time, and day/week of the year
- Quick offsets & presets: 1-click buttons for Now, Start of Day, End of Day, and ±1h, ±1d, ±7d adjustments
How to Use
- View Live Clock: Inspect the live local clock in seconds, milliseconds, microseconds, and nanoseconds, ready to copy.
- Paste Input or Use Presets: Paste any epoch number (seconds, ms, µs, ns, hex) or any date string, or click a quick preset button.
- Inspect Formats: Instantly view ISO 8601, SQL Datetime, RFC 2822, Local Time, Target Timezone Time, Epoch Hex, and relative time.
- One-Click Copy: Click Copy next to any row to copy the formatted value to your clipboard.
Glossary
- Unix Epoch
- 00:00:00 UTC on 1 January 1970. The universal zero reference point for Unix timestamps.
- Microseconds & Nanoseconds
- Sub-second measurements (1 µs = 10^-6 s, 1 ns = 10^-9 s) commonly used for high-frequency logs, distributed tracing, and databases.
- SQL Datetime
- The standard date and time format (YYYY-MM-DD HH:mm:ss) expected by relational databases like MySQL, MariaDB, and PostgreSQL.
- ISO 8601
- The international standard for date and time representation (e.g. 2026-10-31T09:30:00.000Z).