EpochConverter/unix-timestamp-to-date

Unix Timestamp to Date Converter

Paste an epoch timestamp from a log, API or database. Read the date in UTC or choose a time zone.

Unix timestamp conversion tool

Epoch to Date Converter

Auto-detect estimates the unit from the number of digits.

Date and time in UTC

Thursday, February 22, 2024 at 00:00:00

ISO 8601

2024-02-22T00:00:00.000Z

seconds
More date and time details
UTC Date

Thursday, February 22, 2024

UTC Time

00:00:00 UTC

Date

Thursday, February 22, 2024

Time

00:00:00

Day

Thursday

Timezone

UTC

Try a timestamp example

How Unix timestamp to date conversion works

Unix time counts from January 1, 1970 at 00:00 UTC. For example, 1767225600 seconds and 1767225600000 milliseconds both mean January 1, 2026 at 00:00 UTC. Auto-detect estimates the unit from the number of digits. If your source gives you a unit, select it explicitly, especially for short values. The converter also accepts microseconds, nanoseconds, and negative timestamps for dates before 1970.

Common debugging use cases

Engineers use timestamp conversion when validating token expiry, checking delayed events, and reconciling backend logs with frontend telemetry. If you receive an unexpected date, the most common issue is unit mismatch: seconds interpreted as milliseconds or the reverse. The second most common issue is timezone display confusion. Keep UTC as your source of truth, then switch timezone view only for user-facing checks.

Best practices for storing timestamps

Store timestamps as raw numeric values in UTC and convert to readable strings only at display time. This prevents locale parsing bugs and keeps arithmetic operations simple for expiration windows, SLA checks, and analytics queries. When your stack mixes JavaScript and backend services, explicitly document whether fields are seconds or milliseconds to avoid silent data errors.

Going from epoch time to Eastern time? Choose fixed EST for UTC−05:00 year-round or New York to follow local clock changes. Compare both on a summer date.

Related Tools

More free tools for developers debugging timestamps, schedules, and text changes.