Add weeks to a Date in PHP
Description
The following code shows how to add weeks to a Date.
Example
<?php/*w w w .j ava 2 s . c o m*/
$date = new Date();
$date->setDMY(28,4,2010);
$date->addWeeks(7);
$dcs = $date->getArray();
print_r($dcs);
?>