Hello all again, hopefully the last bit I'm stuck on.
So at the moment, I'm wanting a piece of code that recognises any time between say 9am and 11am, 11am and 1pm, 1pm and 3pm, and so on (To create a pie chart)
It doesn't have to recognise time, it could just be strings or integers, although that is probably the easiest way, what I have at the moment is this;
I understand that it is probably pretty wrong, although hopefully you get the idea of what I'm trying to do.
If OrderTimeGrid1.Cells[0,0] = '13:00:00' <> '15:00:00' then
TimeCount1 := TimeCount1 + 1;
OrderTimeGrid2.Cells[0,0] := TimeCount;
The OrderTimeGrid1 Cells simply have something like 14:32:12 in them, without a variable. So just a string, might need converting etc
Any help appreciated.