Seconds2Hhmmss — Convert a number of seconds to a string with form hh:mm:ss.
A string of the form hh:mm:ss.
|StringVariable||Quantity of seconds to convert. Must be an integer.|
You can enter in a negative number of seconds. The return string will be prefixed with a minus sign.
Note also that if the string returned will have at least two digits for the hours and may have more.
Note that arguments of the form XxxVariable can take either a normal value or the name of a variable to read/write, prefixed by @. See About Using @ for details.
For information regarding exceptions / errors, see here
% Seconds2Hhmmss 60
% Seconds2Hhmmss 3600
% set MyVar 3600
% Seconds2Hhmmss @MyVar
% puts $MyVar