iT邦幫忙

0

如何在 Excel 將「奈秒」正確轉換成「時分秒」格式

  • 分享至 

  • xImage

從 Fortiget log 訊息看到一個 eventtime=1606189166923117347 (看官方説明應該是「奈秒」),我將此數值貼到 Excel 儲存格後為何變成 1606189163484840000 (1.60619E+18)?
因為我想下公式「=(((eventtime/60)/60)/24/1000000000)+DATE(1970,1,1)」轉換為時分秒格式。還是説這是精確度問題,轉成時分秒後沒有差別?

archer9080 iT邦研究生 4 級 ‧ 2020-12-07 17:33:46 檢舉
EXCEL數字精確度 --> 15 位數
參考
https://support.microsoft.com/zh-tw/office/excel-%E7%9A%84%E8%A6%8F%E6%A0%BC%E5%8F%8A%E9%99%90%E5%88%B6-1672b34d-7043-467e-8e27-269d656771c3
tamp0001 iT邦新手 3 級 ‧ 2020-12-07 17:40:18 檢舉
我有看過這篇,沒注意到數字「精確度只到 15 位數」。謝謝!
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

0
rogeryao
iT邦超人 8 級 ‧ 2020-12-07 17:24:37

儲存格格式的類別改成 "數值"

我要發表回答

立即登入回答