Em 04/12/17 12:46, Cecil Westerhof escreveu:
> this goes wrong when the seconds are 08 or 09
That is because a string with a leading "0" is interpreted as a octal
number, and "08" and "09" are not valid octal numbers.
Dave already gave a good suggestion for your specific problem, but for
the "08"/"09" problem in general you may want to (re)read "Tcl and octal
numbers" at
http://wiki.tcl.tk/498
--
{ricardo from
kozmate.net}