I\'m having a data column named test_duration bigint(12). I\'m storing time in seconds into the database. Now when I fetch record from the table I want the
There is a MYSQL function that transform seconds to the format "HH:MM:SS":
SEC_TO_TIME(seconds)
Example:
SELECT SEC_TO_TIME(3661);
will output:
01:01:01
Regards