Home
last modified time | relevance | path

Searched refs:setTimestamp (Results 1 – 13 of 13) sorted by relevance

/PHP-8.2/ext/date/tests/
H A Dgh9891.phpt2 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)
H A Ddate-set-timestamp.phpt2 DateTime::setTimestamp()
10 $d->setTimestamp( 1217184864 );
H A Dbug52062.phpt2 Bug #52062 (large timestamps with DateTime::getTimestamp and DateTime::setTimestamp) (32 bit)
21 $d->setTimestamp(100000000000);
39 DateTime::setTimestamp(): Argument #1 ($timestamp) must be of type int, float given
H A Dgh9880.phpt9 $nowTime->setTimestamp(1667416695);
12 $dateTime->setTimestamp(1671904800);
H A Dbug66545.phpt13 $d1->setTimestamp($debut);
14 $d2->setTimestamp($fin);
H A Dbug52062-64bit.phpt2 Bug #52062 (large timestamps with DateTime::getTimestamp and DateTime::setTimestamp) (64 bit)
15 $d->setTimestamp(100000000000);
H A Dbug73858.phpt18 $s = (new DateTime("now"))->setTimestamp(strtotime($ss)); // verbose setup method
19 $e = (new DateTime("now"))->setTimestamp(strtotime($es)); // verbose setup method
27 $s = (new DateTime("now"))->setTimestamp(strtotime($ss)); // verbose setup method
33 $e = (new DateTime("now"))->setTimestamp(strtotime($es)); // verbose setup method
42 $e = (new DateTime("now"))->setTimestamp(strtotime($es)); // verbose setup method
H A Dbug60236.phpt10 $t->setTimestamp($ts);
H A Ddate_time_immutable.phpt94 $x = $z->setTimestamp(2012234222);
98 $x = $z->setTimestamp(2012234222);
161 setTimestamp():
H A Dbug68549-dst-transition-DateTime-setTimestamp.phpt135 $dt->setTimestamp($timestamp);
/PHP-8.2/ext/date/
H A Dphp_date.stub.php436 public function setTimestamp(int $timestamp): DateTime {} function in DateTime
530 public function setTimestamp(int $timestamp): DateTimeImmutable {} function in DateTimeImmutable
H A Dphp_date_arginfo.h564 ZEND_METHOD(DateTimeImmutable, setTimestamp);
675 …ZEND_ME_MAPPING(setTimestamp, date_timestamp_set, arginfo_class_DateTime_setTimestamp, ZEND_ACC_PU…
702 …ZEND_ME(DateTimeImmutable, setTimestamp, arginfo_class_DateTimeImmutable_setTimestamp, ZEND_ACC_PU…
H A Dphp_date.c3638 PHP_METHOD(DateTimeImmutable, setTimestamp) in PHP_METHOD() argument

Completed in 33 milliseconds