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