[rrd-developers] Re: Time Zones

Robert Greenwell robertgreenwell at satel.com
Mon Jan 28 16:50:53 MET 2002


Hi Niels,

That worked great.

Thanks,
Robert





"Niels van Dijke" <Niels.van.Dijke at Concert.Net>
01/28/2002 06:40 AM

 
        To:     "Robert Greenwell" <robertgreenwell at satel.com>
        cc:     <rrd-developers at list.ee.ethz.ch>
        Subject:        RE: [rrd-developers] Time Zones



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







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