TIME_TO_SEC

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  
└──────┘