Posts Tagged ‘date’

Incrementing date

// October 14th, 2008 // No Comments » // PHP


$date = date("Y-m-d");
for($day = 0; $day < 5;$day++)
{
echo date("jS F",strtotime($date));
$date = date("jS F",strtotime($date) + 86400);
}