Re: [rrd-users] RRDTool time format

2007-08-14 Thread Sam Umbach
The constructor for the Timestamp class requires a value in milliseconds since epoch (1 Jan 1970). RRDTool requires "UNIX time" which is seconds since epoch. If you need to convert from RRD time to java time, just multiply by 1000. Similarly, you should divide by 1000 (or just drop the last thre

[rrd-users] RRDTool time format

2007-08-13 Thread musto
Hello everyone :) I'm having problems in creating a timestamp with a given long value. I got the long value by using a simple rrdtool command, which is "rrdtool info .rrd" and I look for the row that showsl "last_update = 1186372065" and get the number. I'm pretty sure it is correct (Am I no

Re: [rrd-users] RRDTool time format

2007-08-13 Thread Joe Loiacono
[EMAIL PROTECTED] wrote on 08/05/2007 11:53:38 PM: > > Hello everyone :) > > I'm having problems in creating a timestamp with a given long value. I got > the long value by using a simple rrdtool command, which is "rrdtool info > .rrd" and I look for the row that showsl "last_update = > 11863