Przejdź do treści głównej
FreeOnlineTools Go
Polski

Timestamp Konwerter

Konwertuj Unix timestamps to human-readable dates and vice versa. Supports ISO 8601 format.

Local processing
1789304943Current timestamp

What is Timestamp Konwerter?

A Unix timestamp converter translates between epoch time (seconds or milliseconds since 1970-01-01 00:00:00 UTC) and human-readable date formats (ISO 8601, local time, UTC). Unix timestamps are the lingua franca of programming — databases, logs, and APIs use them because they are timezone-independent and easy to compare. This tool bridges the gap between machine and human representations.

How It Works

For timestamp-to-date conversion, the input number is multiplied by 1000 if it is in seconds, then passed to the Date constructor. The resulting Date is formatted as ISO 8601 (UTC) and in the user's local timezone. For date-to-timestamp conversion, the input string is parsed (Date.parse or new Date), and .getTime() returns milliseconds since epoch; dividing by 1000 yields seconds. The tool auto-detects seconds vs. milliseconds by magnitude (values above 10^12 are treated as milliseconds).

Common Use Cases

  • Debugging log entries — convert an epoch timestamp from server logs into a readable date
  • Scheduling tasks — translate a cron or queue timestamp into local time for verification
  • Cross-timezone communication — use UTC timestamps to avoid ambiguity in distributed systems
  • Database queries — convert a human date into epoch for range filters in SQL or NoSQL stores

Technical Details

Epoch reference: 1970-01-01T00:00:00Z. Unit auto-detection: values ≥ 10^12 treated as milliseconds, otherwise seconds. Output formats: ISO 8601 (e.g., 2024-01-15T12:30:00.000Z), local date-time, and relative time. Range is bounded by the 64-bit float Date limit (±8.64e15 ms, roughly year 271821 BCE to 275760 CE). Leap seconds are not represented — Unix time ignores them.

How to Use

Enter your input above. The result updates automatically. Use the copy button to copy the result.

Privacy

All processing happens in your browser. Your data is never uploaded to any server.

FAQ

What is a Unix timestamp?

A Unix timestamp is the number of seconds since January 1, 1970 UTC.

Which timezones are supported?

The tool displays both UTC (ISO 8601) and your browser's local timezone. It does not support arbitrary timezone selection — for that, use the Timezone Converter tool. Conversions use the browser's Intl API for localization.

Does it auto-detect seconds vs. milliseconds?

Yes. Values at or above 10^12 are treated as milliseconds; smaller values are treated as seconds. This threshold avoids ambiguity because a seconds timestamp reaching 10^12 would correspond to the year 33658, far beyond practical use.

Related Tools