[rrd-users] Using Time::localtime in Perl
Max Kipness II
mkipness at aztechsolutions.com
Fri Jul 12 01:01:21 MEST 2002
Hi -
I've just switched from using shell scripts to using perl with RRDs. I
used to use the date function which was easy to format for 12hours
using: /bin/date +%r. Now that I'm using Time::localtime I can't figure
out how to do it.
This is what I'm using:
use Time::localtime;
...
"COMMENT:$TIME\\r",
Does anyone know how to get this in a 12 hour format?
Thanks - Max
--
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