Unix 時間戳轉換

將 Unix 時間戳轉為日期,或將日期轉為時間戳。

在您的瀏覽器中執行。您的檔案不會離開裝置。 瞭解如何驗證

…

使用方法

  1. 1
    選擇設定

    填寫資訊或選擇您需要的選項。

  2. 2
    檢視結果

    更改任何內容時,預覽會立即更新。

  3. 3
    下載或儲存

    將結果儲存到您的裝置。不會向伺服器傳送或儲存任何內容。

About this tool

Turn an epoch time such as 1700000000 into a readable date in UTC and your local time, or pick a date and get the timestamp in seconds and milliseconds. Timestamps with 13 digits are treated as milliseconds.

When to use it

Convert Unix timestamps to dates and dates to timestamps, for logs, APIs and databases.

Tips

Check whether the value is in seconds or milliseconds. Thirteen digits is usually milliseconds.

Privacy

Everything runs in your browser, so your data is not uploaded or stored.

獲得最佳結果的提示

開始之前請花一點時間閱讀選項,並先用一個小例子試用工具。一切都在您裝置的瀏覽器中執行;您輸入或新增的任何內容都不會被上傳,關閉標籤頁會清除所有內容。如果看起來不對,請重新整理頁面重試,或使用本頁的報告連結告訴我們出了什麼問題。如果結果仍然看起來不對,請每次只更改一個值,看看哪個輸入影響最大。如果您還會再用,請收藏此頁。

要點

常見問題

What is a Unix timestamp?

It is the number of seconds since 1 January 1970 (UTC).

How do I tell seconds from milliseconds?

10 digits are usually seconds and 13 digits are milliseconds. The tool detects this.

Seconds or milliseconds?

Ten digits is seconds, thirteen is milliseconds.

Which time zone?

Timestamps are UTC. Local time is shown too.

完全免費無費用,無需註冊
檔案保持私密一切都在您的瀏覽器中執行
用您的語言輕鬆使用提供多種語言