Thanks for the code, but I’m getting this problem 😯 :
set dt 20060831120000
regsub — {(d{8})(d+)} $dt {1 2} dt
tcl>echo [clock format [clock scan $dt -format “%m/%d/%Y, %H%M Hours”]
Error: bad switch “-format”: must be -base or -gmt
Any ideas why I’m getting this error and you did not?
Thanks