<?php $firstDate = DateTimeImmutable::createFromFormat('Y-m-d H:i:s', '2021-03-03 15:45:49', new DateTimeZone('Europe/Amsterdam')); $secondDate = DateTimeImmutable::createFromFormat('Y-m-d H:i:s', '2021-03-03 16:45:49', new DateTimeZone('Europe/Moscow')); $secondsInHour = 3600; echo $firstDate->format('Y-m-d H:i:s. \I\s \D\S\T\: I.') . PHP_EOL; echo '+' . $firstDate->getTimezone()->getOffset($firstDate) / $secondsInHour . PHP_EOL; echo $secondDate->format('Y-m-d H:i:s. \I\s \D\S\T\: I.') . PHP_EOL; echo '+' . $secondDate->getTimezone()->getOffset($secondDate) / $secondsInHour . PHP_EOL;
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`