[rrd-users] Re: xport timezones

Alex van den Bogaerdt alex at ergens.op.het.net
Thu Apr 28 16:26:07 MEST 2005

On Thu, Apr 28, 2005 at 11:20:43AM -0300, Pedro Zorzenon Neto wrote:

>   I have some question about rrd and xport tool
>   It output lines like this:
> <row><t>1020611700</t><v>3.4000000000e+00</v><v>5.4400000000e+01</v></row>
>   I want to know if the time row (1020611700 in this example) is related
> to unix timestamp (1970-01-01 00:00:00 UTC)? Is it always UTC?

This is the number of seconds since the unix epoch, the time
you mentioned.

>   Another question:
>   Inside the rrdfile, are the times stored related to UTC?
>   If I get a filename.rrd in a machine with localtime -0400 and copy
> it to another machine with localtime -0300, will the output of
> "rrdtool xport" be the same?

Of course it will be.  The beauty of UTC is that the location
doesn't matter.  UTC time is the same all over the world.


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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the rrd-users mailing list