Beginner

Unix Time Calculator — Timestamp to Date Converter

Enter any Unix timestamp — the number of seconds elapsed since midnight 1 January 1970 (UTC), also called the Unix epoch — and instantly see the corresponding UTC date and time, plus the elapsed days, weeks, and years.
Seconds elapsed since 1970-01-01 00:00:00 UTC (the Unix epoch)
UTC date & time
2025-01-01 00:00:00 UTC
Days from epoch
20089.00
Weeks from epoch
2869.86
Years from epoch
55.0007
Milliseconds (ms)
1735689600000
197021002025-01-01Position of this timestamp between the Unix epoch (1970) and year 2100
Step by step
  1. 1

    Seconds to days

    1,735,689,600 ÷ 86,400 = 20,089
  2. 2

    Days to weeks

    20,089 ÷ 7 = 2,869.86
  3. 3

    Days to years

    20,089 ÷ 365.25 = 55.0007
    Gregorian average: 365.25 days per year.
計算結果僅為一般資訊用途的估算值,並非專業建議——在仰賴重要結果之前,請務必自行獨立查證。 閱讀完整免責聲明.
快速解答

此計算機如何運作?

A Unix timestamp counts the whole seconds elapsed since 1 January 1970 00:00:00 UTC. Divide by 86 400 to get days, by 3 600 for hours, multiply by 1 000 for milliseconds. Enter the timestamp above to decode it to a UTC calendar date instantly.

公式
Date = epoch + timestamp × 1 s | ms = timestamp × 1000
How this is calculated

The Unix timestamp is simply a count of whole seconds (or milliseconds in some systems) that have elapsed since the Unix epoch: 00:00:00 UTC on 1 January 1970. It is the lingua franca of date storage in databases, APIs, log files, and operating systems because it is timezone-free and arithmetic-friendly.

To convert to a calendar date, divide the timestamp by 86 400 (seconds in a day) to get days since epoch, then apply the Gregorian calendar algorithm. The UTC time components are obtained by decomposing the remaining seconds within the day into hours, minutes, and seconds.

This calculator accepts timestamps from roughly 1678 CE to 2262 CE (the range representable as 64-bit nanoseconds, safe for most platforms). To convert a date back to a Unix timestamp, subtract the epoch and count the seconds — most programming environments expose this as `Date.now()` (milliseconds) or the C `time()` call (seconds).

常見問題

The Unix epoch is 00:00:00 Coordinated Universal Time (UTC) on Thursday, 1 January 1970. It was chosen arbitrarily when Unix was designed in the early 1970s and has since become the universal reference point for timestamps in computing.

Many languages — JavaScript, Java, Python datetime.timestamp() × 1000 — work in milliseconds rather than seconds. Divide your value by 1 000 to get the standard Unix second-precision timestamp, then enter it here.

Older 32-bit systems store the Unix timestamp as a signed 32-bit integer, which overflows on 19 January 2038 at 03:14:07 UTC. Modern 64-bit systems are unaffected — they can represent timestamps billions of years into the future.

也稱為

unix 時間戳轉換
unix 時間計算機
時間戳轉日期
epoch 時間轉換
時間戳轉換
unix timestamp 轉換
紀元時間轉換
unix 時間戳計算機

APA

TG we-Calculate Editorial Team. (2026). Unix Time Calculator — Timestamp to Date Converter [Online calculator]. TG we-Calculate. https://we-calculate.com/zh-tw/calculator/unix-time-calculator

Chicago

TG we-Calculate Editorial Team. "Unix Time Calculator — Timestamp to Date Converter." TG we-Calculate. 2026. https://we-calculate.com/zh-tw/calculator/unix-time-calculator.

IEEE

TG we-Calculate Editorial Team, "Unix Time Calculator — Timestamp to Date Converter," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/zh-tw/calculator/unix-time-calculator

BibTeX

@misc{wecalculate_unix_time_calculator, title = {Unix Time Calculator — Timestamp to Date Converter}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/zh-tw/calculator/unix-time-calculator}}, year = {2026}, note = {TG we-Calculate} }

這個計算機對您有幫助嗎?