[rrd-users] Re: --start, format help!

Alex van den Bogaerdt alex at ergens.op.HET.NET
Wed Jun 12 03:49:43 MEST 2002


Warnes, Jason  SDH wrote:

> This is Coordinated Universal Time (UTC is actually the French acromyn for
> this).  It is the number of time in seconds that has expired since the
> epoch, which was defined as January 1st, 1970 GMT (Greenwich Mean Time).  If
> you're a Windows user you've probably nevery been exposed to the epoch
> thing.  But if you're a UNIX user this is probably pretty familiar stuff.

And for completeness:

The `formula' isn't simple but perl knows about it:

   perl -e 'print time'

(or:  perl -e 'print time."\n"'  for pretty formatting)

and for gnu users:

   date +%s

cheers,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

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