<?php $dt1 = new DateTime("2016-01-01 20:00:00+00:00"); $dt2 = new DateTime("2016-01-01 20:00:00+00:00"); $tz_ok= new DateTimeZone('Europe/Paris'); $tz_bad = new DateTimeZone('+01:00'); for ($i = 0; $i < 5; $i++) { $dt1->setTimezone($tz_ok); $dt2->setTimezone($tz_bad); print($dt1->format(DATE_RFC822) . " -- " .$dt2->format(DATE_RFC822) . "\n"); } $dt2->setTimezone($tz_ok); print($dt2->format(DATE_RFC822) . "\n");
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`