<!DOCTYPE html>
<html>
<body>

<?php
$date=date_create("2016-09-29");
date_sub($date,date_interval_create_from_date_string("4 days"));
echo date_format($date,"Y-m-d");
?>

</body>
</html>