← 全部文章

2026 年初的 Unix 時間戳:1767225600 詳解

Unix 時間戳 1767225600 表示 2026-01-01 00:00:00 UTC,即 UTC 中 2026 年的開始。本指南展示轉換、時區影響、毫秒形式,以及如何計算任意年份的起始時間戳。

1767225600 是 UTC 中 2026 年的起點

Unix 時間戳 1767225600 等於 2026-01-01T00:00:00.000Z。通俗地說,就是 2026 年 1 月 1 日 00:00:00 UTC。當年份邊界以 UTC 定義時,這是 2026 年的第一秒。

秒與毫秒形式

值 1767225600 是 Unix 秒。一些工具與語言期望毫秒,尤其是 JavaScript Date。乘以 1000 得到毫秒形式。

  • Unix 秒:1767225600
  • Unix 毫秒:1767225600000
  • ISO 8601 UTC:2026-01-01T00:00:00.000Z
  • JavaScript:new Date(1767225600 * 1000).toISOString()
  • Linux:date -u -d @1767225600

本地時區說明

UTC 的年份邊界並不總是與本地日曆年份邊界一致。時間戳 1767225600 在 UTC 以西的一些時區(包括美國)仍是 2025 年 12 月 31 日。在 UTC 及 UTC 以東的時區已經是 2026 年 1 月 1 日。

  • UTC: 2026-01-01 00:00:00
  • America/New_York: 2025-12-31 19:00:00
  • America/Los_Angeles: 2025-12-31 16:00:00
  • Europe/London: 2026-01-01 00:00:00
  • Asia/Shanghai: 2026-01-01 08:00:00

如何計算任意年份的起始時間戳

UTC 中任意年份的起點是 1 月 1 日 00:00:00 的 Unix 時間戳。由於各年長度不一(閏年多一天),最安全的做法是讓日期函式庫計算邊界,而不是在上一年的基礎上加固定秒數。

  • JavaScript: Date.UTC(2026, 0, 1) / 1000 = 1767225600
  • Python: int(datetime(2026, 1, 1, tzinfo=timezone.utc).timestamp())
  • Linux: date -u -d '2026-01-01' +%s
  • Start of 2025 in UTC: 1735689600
  • Start of 2027 in UTC: 1798761600

2026 年時間戳常見問題

The start of 2026 in UTC is 1767225600. The end of 2026 — the moment 2027 begins — is 1798761600. In between, every local wall-clock observation of "January 1, 2026 00:00" corresponds to a different Unix timestamp depending on the timezone.

  • Start of 2026 UTC: 1767225600 = 2026-01-01 00:00:00 UTC
  • End of 2026 / start of 2027 UTC: 1798761600 = 2027-01-01 00:00:00 UTC
  • 2026 is a non-leap year: exactly 365 × 86,400 = 31,536,000 seconds
  • Start of 2026 in New York (EST, UTC−5): 1767243600 — 5 hours later than UTC
  • Start of 2026 in Los Angeles (PST, UTC−8): 1767254400 — 8 hours later
  • Start of 2026 in Tokyo (JST, UTC+9): 1767193200 — 9 hours earlier
  • Start of 2026 in London (GMT, UTC+0): 1767225600 — identical to UTC
  • See the monthly breakdown for 2026 on the year reference page

FAQ

What is the Unix timestamp for start of 2026?
The UTC start of 2026 is Unix timestamp 1767225600 seconds, or 1767225600000 milliseconds.
Is 1767225600 local midnight everywhere?
No. It is midnight in UTC. In New York and Los Angeles it is still December 31, 2025.
How do I verify 1767225600?
Use an epoch converter, JavaScript new Date(1767225600 * 1000).toISOString(), or Linux date -u -d @1767225600.
What is the Unix timestamp for the end of 2026?
The last second of 2026 in UTC is 1798761599 (2026-12-31 23:59:59 UTC). For range queries, prefer the half-open boundary 1798761600, which is the exact start of 2027.