[rrd-users] Date

Javier Chirino jchirino at sv.intercomnet.net
Thu Apr 4 04:56:18 MEST 2002


Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi, I have a problem with date in my graphics.
rrdtool 1.0.35.

Using perl convert a timestamp date with timelocal function, but in =
graphic display the wrong day and week.
This data is take in 01-04-02 the day should be a Monday, but in the =
graphic see Wensday. and week is wrong too.
the problem es with day,week and mounth, but hour and minute is good.

#!/usr/bin/perl
#--------------

use Time::Local;
$totalseg =3D timelocal($sec,$min,$hora,$dia,$mes,$ano);

#---------------------------------------------


Any help would be greatly appreciated

Sorry my english is no very good.


DAY 01-April-02






Javier Chirino
Network Operations Center
Intercom El Salvador
jchirino at sv.intercomnet.net




-- Attached file removed by Listar and put at URL below --
-- Type: image/gif
-- Size: 15k (15938 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/03-sem-radiacion.gif


-- Attached file removed by Listar and put at URL below --
-- Type: image/gif
-- Size: 14k (15242 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/03-men-radiacion.gif


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