<?php $date=date_create("2013-03-15"); date_sub($date,"40 days"); echo date_format($date,"Y-m-d"); ?>
You have javascript disabled. You will not be able to edit any code.