<?php $date = new DateTime('2000-12-31'); $date->add(new DateInterval('P2M')); var_dump($date->format('Y-m-d')); $date->add(new DateInterval('P1M')); var_dump($date->format('Y-m-d'));
You have javascript disabled. You will not be able to edit any code.