I was looking into the same thing on the net but was left empty handed, so I decided to fool around with mysql instead and got it working, here's what I wrote:

select * from shopTakings
where week(date)
group by week(date);

'shopTakings' is the name of my table, I only have two columns, one which takes in the takings for the day ( labled 'takings' ) and the other keeping the date. I Hope this helps...