Searched refs:getTimezone (Results 1 – 12 of 12) sorted by relevance
8 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";11 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";14 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";17 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";20 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
9 …print $foo->format(DateTime::ISO8601) . ' - ' . $foo->getTimezone()->getName() . ' - ' . $foo->fo…10 …print $bar->format(DateTime::ISO8601) . ' - ' . $bar->getTimezone()->getName() . ' - ' . $bar->fo…15 …print $foo->format(DateTime::ISO8601) . ' - ' . $foo->getTimezone()->getName() . ' - ' . $foo->fo…16 …print $bar->format(DateTime::ISO8601) . ' - ' . $bar->getTimezone()->getName() . ' - ' . $bar->fo…
2 Test DateTime::getTimezone() function : basic functionality5 echo "*** Testing DateTime::getTimezone() : basic functionality ***\n";22 *** Testing DateTime::getTimezone() : basic functionality ***
12 $x = $v->getTimezone();21 getTimezone():
7 $tzold = $dto->getTimezone();11 var_dump($dto->getTimezone()->getName());
12 var_dump($d->getTimezone(), $tz2);14 if($tz2 == $d->getTimezone()) {
7 echo $datetime->getTimezone()->getName(), "\n";
8 $tz1 = date_create("2012-01-01 10:00 +1:00")->getTimezone();
15 function getTimezone() {}19 Error: Return type of DateTime@anonymous::getTimezone() should either be compatible with DateTime::…
15 public function getTimezone() {}20 …ption: Return type of DateTime@anonymous::getTimezone() should either be compatible with DateTime:…
16 timezone: $datetime->getTimezone(),
323 public function getTimezone(): DateTimeZone|false; function406 public function getTimezone(): DateTimeZone|false {} function in DateTime501 public function getTimezone(): DateTimeZone|false {} function in DateTimeImmutable
Completed in 12 milliseconds