Skip to content

Converts seconds to a time value.

func.sec_to_time(<seconds>)
func.sec_to_time(3661)
┌────────────┐
'01:01:01'
└────────────┘
SEC_TO_TIME(<seconds>)
SELECT SEC_TO_TIME(3661);
┌──────────┐
01:01:01
└──────────┘