<?php $start = strtotime('04-03-12'); $end = strtotime('15-06-12'); For($i = $start; $i<=$end;){ $array = explode(" ", date("Y m d", $i)); $y = $array[0]; $m = $array[1]; $d = $array[2]; $arr[$y][$m][$d] = 1; $i += 86400; } Var_dump($arr);
You have javascript disabled. You will not be able to edit any code.
This script was stopped while abusing our resources