<?php $start = new DateTime('2013-05-01'); $end = new DateTime('2013-08-30'); $interval = DateInterval::createFromDateString('1 day'); $period = new DatePeriod($start, $interval, $end); foreach ($period as $dt) { if ($dt->format("N") == 2 || $dt->format("N") == 4) { echo $dt->format("l Y-m-d") . "<br>\n"; } }
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`