Searched refs:getTimestamp (Results 1 – 18 of 18) sorted by relevance
/php-src/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 | DateTimeImmutable_uninitialised_exceptions.phpt | 46 check(fn() => $mdti->getTimestamp());
|
H A D | DateTime_uninitialised_exceptions.phpt | 52 check(fn() => $mdt->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-src/Zend/tests/ |
H A D | closure_call_internal.phpt | 6 var_dump(Closure::fromCallable([new DateTime(), 'getTimestamp'])->call(new DateTime('@123')));
|
/php-src/ext/date/ |
H A D | php_date.stub.php | 329 public function getTimestamp(): int; function 452 public function getTimestamp(): int {} function in DateTime 513 public function getTimestamp(): int {} function in DateTimeImmutable
|
Completed in 14 milliseconds