<?php $period = new DatePeriod( new DateTime('2015-01-01'), new DateInterval('P1M'), new DateTime('2019-01-01') ); var_dump($period->getDateInterval()->m);
You have javascript disabled. You will not be able to edit any code.