Ver originalfor ($i=0; $i<365; $i++) { echo date("d/m/Y", strtotime("+ $i days 01/01/2011"))."<br>"; }