<?php $foo = new DateTime(); $bar = new DateTime('2014-09-21 00:00:00'); $baz = $bar - $foo; var_dump($baz->format('Y'));
You have javascript disabled. You will not be able to edit any code.