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