am even getting the same problem using [clock format [clock seconds] -format "%Y-%m-%d %H:%M:%S" -gmt f] in the tclsh it gives me the correct time, in tcl pages it gives me earlier time!