TIME_TO_SEC (Lakehouse v2)
Converts a time value to seconds.
Analyze Syntax
Section titled “Analyze Syntax”func.time_to_sec(<time>)Analyze Examples
Section titled “Analyze Examples”func.time_to_sec('01:01:01')
┌──────┐│ 3661 │└──────┘SQL Syntax
Section titled “SQL Syntax”TIME_TO_SEC(<time>)SQL Examples
Section titled “SQL Examples”SELECT TIME_TO_SEC('01:01:01');
┌──────┐│ 3661 │└──────┘