Re: time calculation



On Mon, 30 Oct 2006 07:16:31 -0800, keithv wrote:

% 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?

Timezone issues. Try formatting in the neutral GMT timezone...

Hi, thanks Keith & Uwe for the awesome answers, which actually answered my
next question -- I was trying to figure out why my tcl clock was 1 hour
faster yesterday, after the day light saving time was ended. :-)

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


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

.



Relevant Pages

  • Re: time calculation
    ... Try formatting in the neutral GMT timezone... ... Hi, thanks Keith & Uwe for the awesome answers, which actually answered my ... next question -- I was trying to figure out why my tcl clock was 1 hour ...
    (comp.lang.tcl)
  • [OT] Re: Asking if elements in struct arre zero
    ... >> What, besides source code, would be easier to read in monospace? ... > effort of formatting it in a variable-width font, ... Keith is right: plain ASCII text is one of the easiest media to ... If HTML postings were generally supported, ...
    (comp.lang.c)
  • Re: TOCs & their Styles
    ... to get to the TOC styles in any version of Word is through the Modify... ... Word MVP FAQ site: http://word.mvps.org ... "Keith" wrote in message ... > regardless of what option I choose in the Show dropdown (Formatting in ...
    (microsoft.public.word.formatting.longdocs)
  • Re: how can I delete an entire section
    ... that the section-level formatting (margins, headers/footers, columns, paper ... explains some of the hiccups you can run into by deleting a section break. ... Keith G Hicks wrote: ... content, headers, footers, etc. - not just the section break. ...
    (microsoft.public.word.docmanagement)
  • Re: How can I print man pages?
    ... Stefan Meyer wrote: ... > Keith wrote: ... > Probably there were a lot of ESC-sequences inside the text which were ... > used for the text formatting. ...
    (alt.os.linux.suse)