DateTime::sub

It subtracts an amount of days, months, years, hours, minutes and seconds from a DateTime object
Example

<?php
$date = new DateTime(‘2012-05-17’);
$date->sub(new DateInterval(‘P11D’));
echo $date->format(‘Y-m-d’) . “n”;
?>

Output

2012-05-06