Skip to content

Epoch Converter - Unix Timestamp

Unix epoch is the number of seconds since 1970-01-01 00:00:00 UTC. Every backend, log file, and database stores time this way. Paste an epoch value (or human date) and the converter shows the equivalent in IST, UTC, and your local time zone. Auto-detects seconds vs milliseconds based on the magnitude.

When to use this

Use when: debugging log timestamps, writing API integrations where you exchange epoch values, converting AWS / Stripe / Twitter API timestamps to local time, reading database TIMESTAMP columns, scheduling cron jobs at a specific epoch.

Frequently Asked Questions

How do I know if a timestamp is in seconds or milliseconds?

Magnitude. Seconds since 1970 fit in 10 digits today (1.7B range). Milliseconds fit in 13 digits (1.7T range). The converter auto-detects: if the number has 13 digits, treat as ms; if 10, treat as seconds. You can also toggle manually.

Does epoch include leap seconds?

No - Unix epoch is intentionally leap-second-free. It assumes every day has exactly 86,400 seconds. When a leap second occurs (about once every 18 months), most systems either repeat or smear the second across a longer interval. Don't expect epoch precision below the second for civil dates around leap-second events.

Powered by Unix Timestamp Converter.

Other targeted versions of this tool — each tuned for a specific use case.

Or use the main Unix Timestamp Converter if your use case isn't covered above.