PTBox

Unix Timestamp ↔ Date Converter

Convert between Unix timestamps (seconds / milliseconds) and human-readable dates in local time, UTC and ISO 8601.

Seconds: 1779756739Milliseconds: 1779756739082Local: 2026-05-26 00:52:19UTC: 2026-05-26 00:52:19

Timestamp → Date

Date → Timestamp

Usage

A Unix timestamp is the number of seconds (or milliseconds) since 1970-01-01 00:00:00 UTC — the most common format for cross-system timestamps.

Converts both directions, auto-detects seconds vs milliseconds, and shows the result in local time, UTC and ISO 8601.

Use cases

Debugging logs

Translate 1700000000 in a log line into a human-readable timestamp.

Database time fields

Convert between MySQL UNIX_TIMESTAMP() and FROM_UNIXTIME() values.

Cross-timezone collaboration

Show both local and UTC time to avoid meeting-time confusion.

API timestamp formats

Confirm whether createdAt is seconds or milliseconds before integrating.

FAQ

Seconds vs milliseconds — how can you tell?

10 digits is seconds, 13 is milliseconds. The tool auto-detects.

How are timezones handled?

Unix timestamps have no timezone (they're always counted from the UTC epoch). The tool shows local and UTC side by side.

What's the 2038 problem?

32-bit signed integers cap at ~2.1B seconds = 2038-01-19. Modern 64-bit timestamps don't have this issue.

Timestamps before 1970-01-01?

Represented as negative numbers. Theoretically supported but some systems don't handle them.

Related tools

Comments

0 / 1000