<?php $ts = strtotime('2010-01-31 +1 month'); echo date('Y-m-d', $ts); $dt = new \DateTime('2010-01-31'); $dt->add('P1M'); echo $dt->format('Y-m-d');
You have javascript disabled. You will not be able to edit any code.