Home
last modified time | relevance | path

Searched refs:getTimestamp (Results 1 – 17 of 17) sorted by relevance

/PHP-8.2/ext/date/tests/
H A Dbug73489.phpt7 var_dump($datetime->getTimestamp());
10 var_dump($datetime->getTimestamp());
12 // example 2 - Timestamp keeps if you use getTimestamp() before second setTimeZone() calls
14 var_dump($datetime->getTimestamp());
16 $datetime->getTimestamp();
18 var_dump($datetime->getTimestamp());
H A Dbug-gh9106.phpt18 var_dump($start->getTimestamp());
19 var_dump($t1->getTimestamp());
20 var_dump($t2->getTimestamp());
21 var_dump($t3->getTimestamp());
22 var_dump($t4->getTimestamp());
H A Dgh-124.phpt12 var_dump((new DateTime("@-9223372036854775808"))->getTimestamp());
13 var_dump((new DateTime('-292277022657-01-27 08:29:52 UTC'))->getTimestamp());
14 var_dump((new DateTime('-292277022657-01-27 08:29:53 UTC'))->getTimestamp());
16 var_dump((new DateTime("@9223372036854775807"))->getTimestamp());
17 var_dump((new DateTime('+292277026596-12-04 15:30:07 UTC'))->getTimestamp());
H A Dbug80664.phpt7 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\n";
9 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\n";
11 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\n";
13 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\n\n";
17 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\r\n";
19 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\r\n";
H A Dbug52342.phpt11 echo $from->getTimestamp(), "\n"; //B
12 echo date('d.m.Y H:i', $from->getTimestamp()), "\n"; //C
15 echo $from->getTimestamp(), "\n"; //B
16 echo date('d.m.Y H:i', $from->getTimestamp()), "\n"; //C
H A Dgh9891.phpt15 echo '$a: @', $a->getTimestamp(), "\n";
16 echo '$b: setTimestamp(', $b->getTimestamp(), ")\n";
17 $a->modify('@' . $a->getTimestamp());
18 $b->setTimestamp($b->getTimestamp());
H A Dbug52062-64bit.phpt2 Bug #52062 (large timestamps with DateTime::getTimestamp and DateTime::setTimestamp) (64 bit)
13 var_dump($d->getTimestamp());
17 var_dump($d->getTimestamp());
H A Dbug74173.phpt2 Bug #74173 (DateTimeImmutable::getTimestamp() triggers DST switch in incorrect time)
9 $prg->getTimestamp();
H A Ddate_time_immutable-inherited.phpt17 $x = $v->getTimestamp();
24 getTimestamp():
H A Dbug52062.phpt2 Bug #52062 (large timestamps with DateTime::getTimestamp and DateTime::setTimestamp) (32 bit)
14 var_dump($d->getTimestamp());
27 var_dump($d->getTimestamp());
H A Dbug52454.phpt2 Bug #52454 (Relative dates and getTimestamp increments by one day)
14 echo $endOfWeek->getTimestamp()."\n";
H A Dbug76770.phpt5 var_dump(datetime::createFromFormat('U H', '3600 01')->getTimestamp());
H A Dbug68549-dst-transition-DateTime-setTimestamp.phpt136 …printf("%s %d -> %d %s\n", $timezone, $timestamp, $dt->getTimestamp(), $dt->format(DateTimeInterfa…
H A Dbug68549-dst-transition-DateTime-setTimezone.phpt136 …printf("%s %d -> %d %s\n", $timezone, $timestamp, $dt->getTimestamp(), $dt->format(DateTimeInterfa…
/PHP-8.2/Zend/tests/
H A Dclosure_call_internal.phpt6 var_dump(Closure::fromCallable([new DateTime(), 'getTimestamp'])->call(new DateTime('@123')));
/PHP-8.2/ext/date/
H A Dphp_date.stub.php326 public function getTimestamp(): int; function
442 public function getTimestamp(): int {} function in DateTime
500 public function getTimestamp(): int {} function in DateTimeImmutable
H A Dphp_date_arginfo.h646 …ZEND_ABSTRACT_ME_WITH_FLAGS(DateTimeInterface, getTimestamp, arginfo_class_DateTimeInterface_getTi…
676 …ZEND_ME_MAPPING(getTimestamp, date_timestamp_get, arginfo_class_DateTime_getTimestamp, ZEND_ACC_PU…
693 …ZEND_ME_MAPPING(getTimestamp, date_timestamp_get, arginfo_class_DateTimeImmutable_getTimestamp, ZE…

Completed in 27 milliseconds