<?php $from = new DateTime('today - 1 year'); $to = new DateTime('today'); var_dump($from->diff($to, true)->y);
You have javascript disabled. You will not be able to edit any code.