[rrd-users] Re: Local time zone

Alex van den Bogaerdt alex at ergens.op.het.net
Sat Nov 22 11:52:32 MET 2003


On Fri, Nov 21, 2003 at 11:52:03AM +0100, Robert Heber wrote:
> Hi,
> 
> thank you for a hint, I think that this trace is good but
> for now I can't make it work - I tried GMT or CET time zone,
> and result is the same (my data is one hour late).

Problems with time zones should be fixed right from the start.
The first thing to do is to check the time on your computer.
Is it running at the right time, and I don't mean the so called
"wall clock time".

Try 

perl -e 'use POSIX;print asctime(localtime);print asctime(gmtime);'

It should display both "wall clock time" and UTC time.

For instance:

local time:   Sat Nov 22 11:47:39 2003
UTC time:     Sat Nov 22 10:47:39 2003

This is correct, as (most of) Europe is one hour east of Greenwich
and therefore the clock runs ahead of UTC.

If this is correct, only then worry about grapher scripts and such.


UTC time *does*not*change* when daylight saving changes.

HTH
Alex
-- 
http://www.googlism.com/index.htm?ism=alex+van+den+bogaerdt&type=1

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list