Divide your value by 3600, take the integer part (INT) of this number, you have the hours. Take the fractional part of this division (FRAC) and continue in the same manner for the minutes and so on. Finally, concatenate everything using CONCAT.
Michael