Searched refs:format (Results 151 – 175 of 771) sorted by path
12345678910>>...31
/php-src/ext/date/tests/ |
H A D | bug66019.phpt | 2 Bug #66019 (DateTime object does not support short ISO 8601 time format - YYYY-MM-DDTHH) 7 echo $dateObject->format( 'j F Y H:i' );
|
H A D | bug66836.phpt | 9 var_dump($dt->format('U') === $timestamp);
|
H A D | bug67118.phpt | 9 public function __construct($time = 'now', $tz = NULL, $format = NULL) 17 echo "Bad date" . $this->format("Y") . "\n"; 28 #0 %s(%d): DateTime->format('Y')
|
H A D | bug67253.phpt | 38 string(43) "Not enough data available to satisfy format"
|
H A D | bug68503.phpt | 6 echo date_diff(new DateTime("2015-02-01"), new DateTime("2015-05-01"))->format( '%yY %mM %dD' ), "\… 8 echo date_diff(new DateTime("2015-02-01"), new DateTime("2015-05-01"))->format( '%yY %mM %dD' ), "\…
|
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…
|
H A D | bug69089.phpt | 2 Bug #69089 (Add support for RFC3339 extended to DateTime::format) 11 var_dump($date->format(DateTime::RFC3339_EXTENDED)); 12 var_dump($date->format('u')); 13 var_dump($date->format('v'));
|
H A D | bug71889.phpt | 2 Bug #71889 (DateInterval::format segfault on '%' input) 8 var_dump($di->format("%"));
|
H A D | bug72719.phpt | 2 Bug #72719: Relative datetime format ignores weekday on sundays only 5 echo (new DateTimeImmutable('Monday next week 13:00'))->format('l'), "\n"; 6 echo (new DateTimeImmutable('Tuesday next week 14:00'))->format('l'), "\n"; 7 echo (new DateTimeImmutable('Wednesday next week 14:00'))->format('l'), "\n"; 8 echo (new DateTimeImmutable('Thursday next week 15:00'))->format('l'), "\n"; 9 echo (new DateTimeImmutable('Friday next week 16:00'))->format('l'), "\n"; 10 echo (new DateTimeImmutable('Saturday next week 17:00'))->format('l'), "\n"; 11 echo (new DateTimeImmutable('Sunday next week 18:00'))->format('l'), "\n";
|
H A D | bug73294.phpt | 12 $result = $dt->format('Y-m-d H:i:s');
|
H A D | bug73426.phpt | 2 Bug #73426 (createFromFormat with 'z' format char results in incorrect time) 8 $format = 'Y H:i:s z'; 9 var_dump(DateTime::createFromFormat($format, $date)); 12 $format = 'z H:i:s Y'; 13 var_dump(DateTime::createFromFormat($format, $date));
|
H A D | bug73460-001.phpt | 8 echo $date->format('Y/m/d H:i e T'), "\n";
|
H A D | bug73460-002.phpt | 15 echo $end->format('Y-m-d H:i T') . PHP_EOL; 28 echo $start->format('Y-m-d H:i T') . PHP_EOL;
|
H A D | bug73837.phpt | 14 var_dump($prev_dt->format("Y-m-d H:i:s.u")); 15 var_dump($dt->format("Y-m-d H:i:s.u"));
|
H A D | bug73858.phpt | 7 to see if it's the format string which is parsed in correctly or if it's the DateTime
|
H A D | bug73942.phpt | 8 $dateFormat = $date->format('Y-m-d');
|
H A D | bug74080.phpt | 2 Bug #74080 Provide an RFC7231 date time format
|
H A D | bug74173.phpt | 8 echo $prg->format('c') . "\n"; 10 echo $prg->format('c') . "\n";
|
H A D | bug74639.phpt | 22 if ($interval->format('Y-m-d H:i:s') != $clonedInterval->format('Y-m-d H:i:s')) {
|
H A D | bug74652.phpt | 17 foreach ( $formats as $format ) 19 $dt = new DateTimeImmutable( $format ); 20 echo $dt->format( 'Y-m-d H:i:s' ), "\n";
|
H A D | bug74671.phpt | 10 var_dump($dt->format('c'));
|
H A D | bug75035.phpt | 19 $original = $d->format('Y-m-d H:i:s'); 20 $serializedUnserialized = is_string($u) ? $u : $u->format('Y-m-d H:i:s');
|
H A D | bug75167.phpt | 15 echo $date->format('c') . "\n"; 16 echo $newDate->format('c');
|
H A D | bug75577.phpt | 2 Test for bug #75577: DateTime::createFromFormat does not accept 'v' format specifier 8 var_dump($s = $d->format(DateTime::RFC3339_EXTENDED));
|
Completed in 29 milliseconds
12345678910>>...31