How does auto-detection choose the timestamp unit?
Auto-detection uses the number of digits to infer seconds, milliseconds, microseconds, or nanoseconds. You can force a unit when you know the source system.
Unix timestamps appear in logs, queues, analytics exports, cache records, scheduled jobs, API payloads, JWT claims, and database rows. This converter accepts common timestamp units and displays the matching date in local time, UTC, ISO 8601, and a selected time zone.
The reverse converter creates timestamp values from a date and IANA time zone for tests, fixtures, API examples, and manual operations.
Loading tool...
The most common timestamp issue is using the wrong unit. Backend systems often use seconds, JavaScript uses milliseconds, and some databases expose microseconds or nanoseconds. Choose the unit explicitly when precision matters.
Auto-detection uses the number of digits to infer seconds, milliseconds, microseconds, or nanoseconds. You can force a unit when you know the source system.
JavaScript Date uses milliseconds, while many APIs and databases use seconds or microseconds. Unit mismatches are a common cause of dates near 1970 or far in the future.
Yes. Enter a date and time with a time zone to generate seconds, milliseconds, microseconds, nanoseconds, and ISO 8601 output.