Am 27.4.2006 schrieb "Alex van den Bogaerdt" <[EMAIL PROTECTED]>:
>You don't need to know "n".  All you need to have is a timestamp that
>is a multiple of 300.  There are several ways of getting there.
>
>Get the current time in unix-seconds-since-epoch format.  Divide by
>300, get rid of any fractional part, multiply by 300. Compute
>'int(the_time / 300) * 300'

really simple.
i think i got it. :)
thank you!
cheers
thomas

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Reply via email to