set time "20091231 235959"set format "%Y%m%d%H%M%S"set time [clock format [clock scan "+1 minute" -base [clock scan $time]] -format $format]