<?php $date = new \DateTime('2010-12-01'); $a = (new \DateTime())->diff($date); var_dump($a->format('%y'));
You have javascript disabled. You will not be able to edit any code.