SEC_TO_TIME

Converts seconds to a time value.

Analyze Syntax

func.sec_to_time(<seconds>)

Analyze Examples

func.sec_to_time(3661)

┌────────────┐
 '01:01:01'  
└────────────┘

SQL Syntax

SEC_TO_TIME(<seconds>)

SQL Examples

SELECT SEC_TO_TIME(3661);

┌──────────┐
 01:01:01  
└──────────┘