Skip to content

Converts a time value to seconds.

func.time_to_sec(<time>)
func.time_to_sec('01:01:01')
┌──────┐
3661
└──────┘
TIME_TO_SEC(<time>)
SELECT TIME_TO_SEC('01:01:01');
┌──────┐
3661
└──────┘