unixtime_microseconds_todatetime()
將 unix-epoch 微秒轉換成 UTC 日期時間。
語法
unixtime_microseconds_todatetime(
微秒)
深入瞭解 語法慣例。
參數
名稱 | 類型 | 必要 | Description |
---|---|---|---|
微秒 | real |
✔️ | 以微秒為單位的 epoch 時間戳。 在 datetime epoch 時間之前發生的值, (1970-01-01 00:00:00) 具有負時間戳值。 |
傳回
如果轉換成功,則結果為 datetime 值。 否則,結果為 null。
範例
print date_time = unixtime_microseconds_todatetime(1546300800000000)
輸出
date_time |
---|
2019-01-01 00:00:00.0000000 |
相關內容
- 使用 unixtime_seconds_todatetime(),將 unix-epoch 秒轉換為 UTC 日期時間。
- 使用 unixtime_milliseconds_todatetime(),將 unix-epoch 毫秒轉換為 UTC 日期時間。
- 使用 unixtime_nanoseconds_todatetime(),將 unix-epoch 奈秒轉換為 UTC 日期時間。
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應