<?php $start = (new \DateTime('02 Feb 2014 14:34')); $now = (new \DateTime()); $length = (new \DateTimeInterval('1y')); var_dump(['start' => $start, 'now' => $now, 'length' => $length]);
You have javascript disabled. You will not be able to edit any code.