नोट
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप साइन इन करने या निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
Applies to:
Databricks SQL
Databricks Runtime 18 LTS and above
Note
Databricks Runtime 18 is newer than Databricks Runtime 18.0, 18.1, and 18.2. Features that would previously have shipped as a later numbered version now ship as dated updates to Databricks Runtime 18 instead. For details, see About unified release notes.
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