$year = 2004 $yearplusone = $year+1; $start = mktime(0,0,0,1,1,$year); $end = mktime(0,0,0,1,1,$yearplusone); $day = $start; while($day < $end) { echo date('r', $day); $day = strtotime("+1 day", $day); }
Founder, Inventor, Creator
$year = 2004 $yearplusone = $year+1; $start = mktime(0,0,0,1,1,$year); $end = mktime(0,0,0,1,1,$yearplusone); $day = $start; while($day < $end) { echo date('r', $day); $day = strtotime("+1 day", $day); }