<?php $x = new DateTime("30.09.2016"); $y = new DateTime(); $y->setDate(date("Y"), date("m"), $x->format("d")); echo $y->format("d.m.Y") . "\n"; $y->modify("+1 month"); echo $y->format("d.m.Y");
You have javascript disabled. You will not be able to edit any code.