Hey guys,

How would I work out the date range for the current week...?
Then +1 week or +2 weeks time...

I hope you understand...

So... This week...

20.02.2012
26.02.2012


+1 week will be

27.02.2012
04.03.2012

I will set an offset url variable
Thanks
Dan

Thanks however I want to get the dates for Monday and Sunday for the offset week.. can I do that using that?

Dan

Ahh its ok thanks for you help... This is what I was looking for :)

<?php
echo date("d.m.Y", strtotime("+".$_GET['offset']." week", strtotime("last Monday")));
echo "<br />";
echo date("d.m.Y", strtotime("+".$_GET['offset']." week", strtotime("this Sunday")));
?>

Dan

commented: Thanks for sharing. +14