Searched refs:setTimestamp (Results 1 – 15 of 15) sorted by relevance
2 Bug GH-9891 (DateTime modify with unixtimestamp (@) must work like setTimestamp)16 echo '$b: setTimestamp(', $b->getTimestamp(), ")\n";18 $b->setTimestamp($b->getTimestamp());28 $b: setTimestamp(1667327400)
2 DateTime::setTimestamp()10 $d->setTimestamp( 1217184864 );
9 $nowTime->setTimestamp(1667416695);12 $dateTime->setTimestamp(1671904800);
2 Bug #52062 (large timestamps with DateTime::getTimestamp and DateTime::setTimestamp) (32 bit)21 $d->setTimestamp(100000000000);39 TypeError: DateTime::setTimestamp(): Argument #1 ($timestamp) must be of type int, float given
13 $d1->setTimestamp($debut);14 $d2->setTimestamp($fin);
2 Bug #52062 (large timestamps with DateTime::getTimestamp and DateTime::setTimestamp) (64 bit)15 $d->setTimestamp(100000000000);
18 $s = (new DateTime("now"))->setTimestamp(strtotime($ss)); // verbose setup method19 $e = (new DateTime("now"))->setTimestamp(strtotime($es)); // verbose setup method27 $s = (new DateTime("now"))->setTimestamp(strtotime($ss)); // verbose setup method33 $e = (new DateTime("now"))->setTimestamp(strtotime($es)); // verbose setup method42 $e = (new DateTime("now"))->setTimestamp(strtotime($es)); // verbose setup method
10 $t->setTimestamp($ts);
94 $x = $z->setTimestamp(2012234222);98 $x = $z->setTimestamp(2012234222);161 setTimestamp():
44 check(fn() => $mdti->setTimestamp(time()));
50 check(fn() => $mdt->setTimestamp(time()));
135 $dt->setTimestamp($timestamp);
444 public function setTimestamp(int $timestamp): DateTime {} function in DateTime548 public function setTimestamp(int $timestamp): DateTimeImmutable {} function in DateTimeImmutable
592 ZEND_METHOD(DateTimeImmutable, setTimestamp);735 …ZEND_ME(DateTimeImmutable, setTimestamp, arginfo_class_DateTimeImmutable_setTimestamp, ZEND_ACC_PU…
3863 PHP_METHOD(DateTimeImmutable, setTimestamp) in PHP_METHOD() argument
Completed in 39 milliseconds