Unix Timestamp Converter (Epoch Time)

A Unix timestamp (also called epoch time or POSIX time) counts the number of seconds — or milliseconds, microseconds, nanoseconds — that have elapsed since January 1, 1970 00:00:00 UTC. It is the universal time representation used by operating systems, databases, APIs and log files because it is timezone-agnostic and trivially sortable.

This converter parses any date-time you paste and instantly shows the corresponding epoch values in all four precisions: 10-digit seconds, 13-digit milliseconds, 16-digit microseconds and 19-digit nanoseconds. Convert the other way by pasting a raw timestamp — the engine auto-detects the precision and resolves it to a full date in your timezone.

Timezone:
Enter a date-time above to see the conversion results.

Unix Timestamp Converter (Epoch Time) Quick Reference

FormatPattern / DescriptionExample 1Example 2
Timestamp (s)10-digit Unix timestamp17866314001767225600
Timestamp (ms)13-digit Unix timestamp17866314000001767225600000
Unix Microseconds16-digit timestamp17866314000000001767225600000000
Unix Nanoseconds19-digit timestamp17866314000000000001767225600000000000

* Examples are rendered in UTC for the fixed sample instants above.

When to Use Unix Timestamp (Epoch Time)

Debugging APIs

REST and GraphQL APIs commonly return `created_at` as a 10- or 13-digit epoch. Paste it here to see the exact human-readable time during debugging.

Database storage

Many databases store timestamps as integers (epoch seconds or ms) for compactness. Verify stored values against wall-clock time before writing queries.

Log analysis

Server logs, container logs and metrics pipelines timestamp events with Unix time. Convert log excerpts in bulk to correlate incidents across systems.

Frequently Asked Questions

What is the Unix epoch?

The Unix epoch is January 1, 1970 00:00:00 UTC. Any Unix timestamp is the number of time units (seconds, milliseconds, etc.) elapsed since that instant.

Why is my timestamp 10 digits instead of 13?

10 digits = seconds, 13 digits = milliseconds. Millisecond values began dominating after 2001 when the 10-digit range hit 1,000,000,000. This converter auto-detects the precision.

What is the Year 2038 problem?

A 32-bit signed integer storing seconds overflows on January 19, 2038. Most modern systems use 64-bit integers or milliseconds, which avoid the issue for billions of years.

How do I convert an epoch timestamp back to a date?

Paste the raw number into the converter input. The engine detects whether it is seconds, milliseconds, microseconds or nanoseconds and resolves it to a full date-time in your selected timezone.

Related Time Format Converters

All Format Guides

Need to Convert Between All Formats?

Use the main Time Format Converter for instant conversion across 100+ formats — epoch, ISO 8601, RFC 3339, SQL datetime, military time and more in one click.

Open Time Format Converter