time calculation
- From: * Tong * <sun_tong_001@xxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Oct 2006 10:01:31 -0500
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
.
- Follow-Ups:
- Re: time calculation
- From: Darren New
- Re: time calculation
- From: Uwe Klein
- Re: time calculation
- From: keithv
- Re: time calculation
- From: Bruce Hartweg
- Re: time calculation
- Prev by Date: Re: Thoughts about the controversial {expand} feature
- Next by Date: Re: time calculation
- Previous by thread: Tcl/Tk Books updated for 8.5
- Next by thread: Re: time calculation
- Index(es):