The clock Command
The clock command eliminates the need to exec date to get the time of day in Tcl. The equivalent is:
clock format [clock seconds]
The format operation takes an optional format string that lets you control the date and time string. There is also clock scan to parse clock values, and clock clicks to get high resolution clock values. The clock command is described on page 173.