Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Applies to:
Databricks SQL
Databricks Runtime 18.3 and above
Creates a TIME value from the number of seconds since midnight.
Syntax
time_from_seconds(expr)
Arguments
expr: A numeric expression representing seconds since midnight (0 to 86399.999999). Fractional seconds are preserved.
Returns
A TIME.
Examples
> SELECT time_from_seconds(52200.5);
14:30:00.500000
> SELECT time_from_seconds(0);
00:00:00