Skip to main content

Unix Timestamp to Date Converter (POSIX / Linux Time)

Convert Unix timestamps in seconds or milliseconds to UTC, ISO 8601, and local dates. Choose the input unit explicitly when automatic detection is ambiguous.

Enter a Unix timestamp

Choose the unit when automatic detection would be ambiguous.

Local date and time

Enter a value above to see the result.

ISO 8601

Enter a value above to see the result.

Current Unix time:

Was this Unix Timestamp to Date Converter (POSIX / Linux Time) helpful?

Help us keep tools reliable, fast, and bug-free.

What you can do with Unix Timestamp Converter

  • Convert epoch to date
  • Turn date into unix timestamp

How this date and time calculation works

Translate POSIX Unix epoch timestamps into human-readable UTC, ISO 8601, and local dates with CLI terminal date references.

Example input

1767225600

Example output

2026-01-01T00:00:00.000Z (ISO 8601)

Practical workflow

  1. Paste the Unix timestamp and choose Auto detect, Seconds, or Milliseconds.
  2. Select ISO 8601, UTC text, or Local time as the primary output format.
  3. Copy the date from either result card; use the ISO result when sharing an exact instant across time zones.

Common use cases

  • Debug database timestamps, API response dates, and JWT expiration claims (exp, iat).
  • Convert server log timestamps into human-readable incident timelines.
  • Verify cron job execution dates and scheduled task triggers.

Important notes and limitations

  • Modern Unix seconds commonly have 10 digits; milliseconds commonly have 13.
  • Auto detection treats absolute values below 10,000,000,000 as seconds and larger values as milliseconds. Use an explicit unit for early dates or distant future dates.
  • Microseconds and nanoseconds are not input units in this tool. Convert those values to milliseconds before pasting.

Terminal & CLI equivalents

Linux GNU date timestamp translation

date -d @1700000000 +"%Y-%m-%d %H:%M:%S %Z"

Convert 10-digit Unix epoch seconds into formatted local or UTC calendar dates.

macOS & BSD date timestamp translation

date -r 1700000000 +"%Y-%m-%d %H:%M:%S"

Native BSD syntax on macOS terminal using the -r flag instead of -d.

Python datetime from POSIX timestamp

python3 -c "import datetime; print(datetime.datetime.fromtimestamp(1700000000, datetime.timezone.utc))"

Extract timezone-aware UTC datetime directly in Python scripts.

POSIX Unix Timestamp Standards & Overflow Boundaries

ArchitectureData TypeRange (Min / Max)Overflow Incident
32-bit Signed POSIXint32_t1901-12-13 to 2038-01-19Year 2038 Problem (Y2038) rollover at 2,147,483,647 seconds
64-bit Signed POSIXint64_t±292 billion yearsUniversal modern 64-bit OS standard (Linux, macOS, Windows)

Common errors & troubleshooting

date: invalid date '@1700000000000'

Cause: Passing 13-digit millisecond timestamp to CLI date command expecting 10-digit seconds.

Solution: Divide millisecond timestamp by 1000 before passing: date -d @$((1700000000000 / 1000))

Continue your workflow

Frequently asked questions

What is a Unix timestamp (Epoch time)?

A Unix timestamp is the total number of seconds that have elapsed since January 1, 1970 00:00:00 UTC (the Unix Epoch), not counting leap seconds.

How do I distinguish between seconds and milliseconds timestamps?

Current dates commonly use 10 digits for seconds and 13 for milliseconds. That is a heuristic, not a universal rule: choose Seconds or Milliseconds explicitly when the value is ambiguous.

Does the conversion account for Daylight Saving Time (DST)?

Yes. While UTC timestamps remain strictly linear, the local time calculation automatically accounts for your computer's time zone and DST rules.

Focused guides for this tool