StringVariable | Quantity of seconds to convert. Must be an integer. |
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.
% Seconds2Hhmmss 60
00:01:00
% Seconds2Hhmmss 3600
01:00:00
% set MyVar 3600
3600
% Seconds2Hhmmss @MyVar
01:00:00
% puts $MyVar
01:00:00