TIME_TO_SEC
Learn how to use the TIME_TO_SEC date/time function in PlaidCloud Lakehouse. Converts a time value to seconds - see syntax, examples, and output.
Converts a time value to seconds.
Analyze Syntax
func.time_to_sec(<time>)
Analyze Examples
func.time_to_sec('01:01:01')
┌──────┐
│ 3661 │
└──────┘
SQL Syntax
TIME_TO_SEC(<time>)
SQL Examples
SELECT TIME_TO_SEC('01:01:01');
┌──────┐
│ 3661 │
└──────┘