[rrd-developers] Re: Time Zones

Niels van Dijke Niels.van.Dijke at Concert.Net
Mon Jan 28 14:40:35 MET 2002



Robert,

I think easily by setting the TZ environment variable to another value;

use POSIX;
$ENV{'TZ'} = 'CET';
print POSIX::strftime("%C",gmtime);
$ENV{'TZ'} = 'CET';
print POSIX::strftime("%C",gmtime);

Regards,
Niels

-----Original Message-----
From: rrd-developers-bounce at list.ee.ethz.ch
[mailto:rrd-developers-bounce at list.ee.ethz.ch]On Behalf Of Robert
Greenwell
Sent: Monday, January 28, 2002 01:55 PM
To: rrd-developers at list.ee.ethz.ch
Subject: [rrd-developers] Time Zones


Hi,

How do I create charts for another time zone using RRDs in perl?  My
system uses SuSE linux 7.3.

Thanks,
Robert Greenwell

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



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



More information about the rrd-developers mailing list