Re: winter and summer time confusion in clock and tcl 8.4.12 and 8.5a4 (starpack)



MartinLemburg@UGS wrote:
Hello Michael,

sad, that I didn't read the man page good enough.

But reading the man page again, I'm not sure if this problem is about
daylight savings time.
I'm not on the boundary of daylight savings time, so I would expect to
get the right time, not only the right date.

And even if - "now" is now, here in Berlin and not "1 hour to the
west".

I think such "relative" tokens like now (which is not really relative,
like e.g. today) must cause "clock scan" to return the real, current
time with all corrections.

And ... by the way:

% clock format [clock seconds]
Thu Mar 30 13:59:02 +0100 2006
% clock format [clock scan now]
Thu Mar 30 14:00:02 +0100 2006

But it is one hour later! It does not seem to matter, if "clock scan
now" or "clock seconds" is used!

+0100 is the timezone specifier... +1 Hour against UTC in your case,
which is winter time..., so no daylight saving time included.

It works fine on my linux box... (SUSE 9.3)
schlenk@vacca:~> tclsh8.5
% clock format [clock seconds]
Thu Mar 30 16:10:05 CEST 2006
% clock format [clock scan now]
Thu Mar 30 16:10:17 CEST 2006

Not sure whats going on there..., sorry for the confusion.


Michael

.



Relevant Pages

  • Re: 700 W Clock update
    ... Treo 700W clock did not update to Daylight Savings time this morning. ... (For network update) ... CDMA phones don't know the DST rules; they get their time from the cell site when they register with the network. ... If you really want the clock to be reset, you can just make a call to any number, such as *611, since the phone re-registers after a call. ...
    (alt.cellular.verizon)
  • Re: how VCR clock setting works?
    ... A peddler convinces a sheik to join the 19th Century and buy a clock. ... The peddler sets the clock to Daylight Savings Time ...
    (sci.electronics.design)
  • Re: winter and summer time confusion in clock and tcl 8.4.12 and 8.5a4 (starpack)
    ... But reading the man page again, I'm not sure if this problem is about ... I'm not on the boundary of daylight savings time, ... like e.g. today) must cause "clock scan" to return the real, ... % clock format ...
    (comp.lang.tcl)
  • Re: Day Light Savings for VMS and UNIX
    ... there does exist code to do this on Unix (see information on 'clock ... for your example (daylight savings time change) skewing ...
    (comp.os.vms)
  • Re: Daylight Savings Time
    ... Daylight Savings Time kicks in at 2AM tomorrow ... energy conservation. ... regardless of what time the clock says it is. ... but the energy saving factor from continent to continent is in the seasons, ...
    (rec.pets.cats.anecdotes)