Source Code:
(back to article)
<?php $date = new DateTime(); $interval = new DateInterval('P30D'); $date->add($interval); echo $date->format('Y-m-d');
Result:
Report an issue