Code: Select all
set cdate1 [clock format [clock seconds] -format "%m %d %y"]
append esttime [lindex $cdate1 0]
append esttime "/"
append esttime [expr [lindex $cdate1 1] + 1]
append esttime "/"
append esttime [lindex $cdate1 2]
the line that's giving me trouble is
Code: Select all
append esttime [expr [lindex $cdate1 1] + 1]