Code: Select all
set datenow [clock format [clock seconds] -format %m][clock format [clock seconds] -format %d][clock format [clock seconds] -format %y]
set file_pre "perfect"
set file_end ".txt"
set file_name $file_pre$datenow$file_end
Code: Select all
set datenow [clock format [clock seconds] -format %m][clock format [clock seconds] -format %d][clock format [clock seconds] -format %y]
set file_pre "perfect"
set file_end ".txt"
set file_name $file_pre$datenow$file_end
Code: Select all
set file_pre "perfect"
set file_end ".txt"
set file_name "${file_pre}[clock [clock seconds] -format "%m%d%y"]${file_end}"