<?php $d1 = DateTime::createFromFormat(\DateTimeInterface::ATOM, '2023-11-22T11:52:00+01:00'); $d2 = new DateTime('2023-11-22T10:52:03', new \DateTimeZone('UTC')); var_dump($d1->diff($d2)->y);
You have javascript disabled. You will not be able to edit any code.