<?php
$time1 = mktime(0, 0, 0, date("m")-6, date("d"), date("Y"));
$heute = date_create('now');
$start = date_modify($heute, '-1 week');
for($x=$start; $x<$heute; date_modify($x, '+1 day')) {
echo date_format($x, 'Ymd');
echo "<br>";
}
?>
- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.27
- Parse error: syntax error, unexpected '{' in /in/2uC4W on line 5
Process exited with code 255.
preferences:
193.71 ms | 1395 KiB | 64 Q