<?php $startDate = "2014-06-01"; $endDate = "2014-06-30"; $startDate = strtotime($startDate); $endDate = strtotime($endDate); for($i = strtotime('Monday', $startDate); $i <= $endDate; $i = strtotime('+1 week', $i)) echo date('l Y-m-d', $i).PHP_EOL;
You have javascript disabled. You will not be able to edit any code.