time calculation



Hi,

I'm trying to understand tcl's time calculation:

% clock format [expr {([clock scan 09:51:16] - [clock scan 00:00:00])}] -format "%H:%M:%S"
04:51:16

I'd think the result'd be 09:51:16, why 04:51:16?

thanks

--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/


--
Posted via a free Usenet account from http://www.teranews.com

.