Searched refs:getTimestamp (Results 1 – 17 of 17) sorted by relevance
/PHP-8.2/ext/date/tests/ |
H A D | bug73489.phpt | 7 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 D | bug-gh9106.phpt | 18 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 D | gh-124.phpt | 12 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 D | bug80664.phpt | 7 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 D | bug52342.phpt | 11 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 D | gh9891.phpt | 15 echo '$a: @', $a->getTimestamp(), "\n"; 16 echo '$b: setTimestamp(', $b->getTimestamp(), ")\n"; 17 $a->modify('@' . $a->getTimestamp()); 18 $b->setTimestamp($b->getTimestamp());
|
H A D | bug52062-64bit.phpt | 2 Bug #52062 (large timestamps with DateTime::getTimestamp and DateTime::setTimestamp) (64 bit) 13 var_dump($d->getTimestamp()); 17 var_dump($d->getTimestamp());
|
H A D | bug74173.phpt | 2 Bug #74173 (DateTimeImmutable::getTimestamp() triggers DST switch in incorrect time) 9 $prg->getTimestamp();
|
H A D | date_time_immutable-inherited.phpt | 17 $x = $v->getTimestamp(); 24 getTimestamp():
|
H A D | bug52062.phpt | 2 Bug #52062 (large timestamps with DateTime::getTimestamp and DateTime::setTimestamp) (32 bit) 14 var_dump($d->getTimestamp()); 27 var_dump($d->getTimestamp());
|
H A D | bug52454.phpt | 2 Bug #52454 (Relative dates and getTimestamp increments by one day) 14 echo $endOfWeek->getTimestamp()."\n";
|
H A D | bug76770.phpt | 5 var_dump(datetime::createFromFormat('U H', '3600 01')->getTimestamp());
|
H A D | bug68549-dst-transition-DateTime-setTimestamp.phpt | 136 …printf("%s %d -> %d %s\n", $timezone, $timestamp, $dt->getTimestamp(), $dt->format(DateTimeInterfa…
|
H A D | bug68549-dst-transition-DateTime-setTimezone.phpt | 136 …printf("%s %d -> %d %s\n", $timezone, $timestamp, $dt->getTimestamp(), $dt->format(DateTimeInterfa…
|
/PHP-8.2/Zend/tests/ |
H A D | closure_call_internal.phpt | 6 var_dump(Closure::fromCallable([new DateTime(), 'getTimestamp'])->call(new DateTime('@123')));
|
/PHP-8.2/ext/date/ |
H A D | php_date.stub.php | 326 public function getTimestamp(): int; function 442 public function getTimestamp(): int {} function in DateTime 500 public function getTimestamp(): int {} function in DateTimeImmutable
|
H A D | php_date_arginfo.h | 646 …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 36 milliseconds