Hi and thanks for the help, what i need is not the last 24hours but by day i mean some thing like return (b.past**(TODAY).**get(true).proportion);
[quote=
return 24*(b.past(HOUR, 24).get(true).proportion);
I think this will take the % of time it was true for the 24 hour period and then convert that to how many hours.[/quote]