หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Applies to:
Databricks SQL
Databricks Runtime 18.3 and above
Creates a TIME value from the number of milliseconds since midnight.
Syntax
time_from_millis(expr)
Arguments
expr: An integral numeric expression representing milliseconds since midnight (0 to 86399999).
Returns
A TIME.
Examples
> SELECT time_from_millis(52200500);
14:30:00.500000
> SELECT time_from_millis(0);
00:00:00