Unix / Epoch Timestamp Converter
Convert Unix timestamps to dates and dates to Unix time instantly. Supports seconds, milliseconds, microseconds, nanoseconds, UTC, local time, and time zones.
Current Unix Time
The current Unix timestamp is the number of seconds that have passed since January 1, 1970 at 00:00:00 UTC. Use this live timestamp when you need the current time for APIs, databases, logs, analytics tools, or development workflows.
Time Converter
Most Common Conversions
Unix time is traditionally measured in seconds, but many systems also use milliseconds: Seconds for Unix systems, APIs, and databases; milliseconds for JavaScript, logs, and analytics tools; microseconds for databases and event streams; nanoseconds for high-precision systems.
| Format | Value |
|---|
Timezone Conversion
Compare the same moment in UTC, your local timezone, and common business timezones. Changing the selector updates the display without changing the underlying timestamp.
| Timezone | Date and time |
|---|
Code examples
The first line for each programming language shows how to get the current epoch time. The second line shows how to convert an epoch timestamp to a human-readable date. Replace the example epoch time with your own value.
Seconds vs Milliseconds
A 10-digit timestamp is usually seconds. A 13-digit timestamp is usually milliseconds. Some databases and event streams use 16-digit microseconds or 19-digit nanoseconds. This converter auto-detects the unit and lets you override it when a value is ambiguous.
| Format | Example | Common use |
|---|---|---|
| Seconds | 1716239022 | Unix systems, APIs, databases |
| Milliseconds | 1716239022000 | JavaScript, logs, analytics tools |
| Microseconds | 1716239022000000 | Databases, event streams |
| Nanoseconds | 1716239022000000000 | High-precision systems |