I'd probably start by storing the last n ( =10 ?) "last here" on a daily resolution.
Calculating with the above formula is easy ( diff(oldest, newest) / n ), and you just need to replace the oldest record on a new day.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re^4: here frequency ?
by LanX
in thread here frequency ?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |