/php-src/ext/date/tests/ |
H A D | bug41964.phpt | 2 Bug #41964 (strtotime returns a timestamp for non-time string of pattern '(A|a) .+')
|
H A D | bug43003.phpt | 2 Bug #43003 (Invalid timezone reported for DateTime objects constructed using a timestamp)
|
H A D | bug43527.phpt | 2 Bug #43527 (DateTime created from a timestamp reports environment timezone)
|
H A D | bug43960.phpt | 2 Bug #43960 (strtotime() returns timestamp in the future when given a bogus string)
|
H A D | bug52062.phpt | 39 TypeError: DateTime::setTimestamp(): Argument #1 ($timestamp) must be of type int, float given
|
H A D | bug52290.phpt | 2 Bug #52290 (setDate, setISODate, setTime works wrong when DateTime created from timestamp)
|
H A D | bug52342.phpt | 2 Bug #52342 (DateTime setIsoDate results in wrong timestamp)
|
H A D | bug60236.phpt | 2 Bug #60236 (TLA timezone dates are not converted properly from timestamp)
|
H A D | bug65184.phpt | 15 /* timestamp has to be some wednesday */
|
H A D | bug66836.phpt | 7 foreach (['-1', '-86400', '-1000000'] as $timestamp) { 8 $dt = DateTime::createFromFormat('U', $timestamp); 9 var_dump($dt->format('U') === $timestamp);
|
H A D | bug68549-dst-transition-DateTime-setTimestamp.phpt | 2 Bug #68549 (setting timestamp around a DST transition) 132 foreach ($timestamps as $timestamp) { 135 $dt->setTimestamp($timestamp); 136 …printf("%s %d -> %d %s\n", $timezone, $timestamp, $dt->getTimestamp(), $dt->format(DateTimeInterfa…
|
H A D | bug68549-dst-transition-DateTime-setTimezone.phpt | 132 foreach ($timestamps as $timestamp) { 134 $dt = DateTime::createFromFormat('U', $timestamp); 136 …printf("%s %d -> %d %s\n", $timezone, $timestamp, $dt->getTimestamp(), $dt->format(DateTimeInterfa…
|
H A D | bug69806.phpt | 2 Bug #69806 (Incorrect date from timestamp)
|
H A D | bug73489.phpt | 2 Bug #73489: wrong timestamp when call setTimeZone multi times with UTC offset
|
H A D | createFromTimestamp.phpt | 204 …amp(%f): DateRangeError: DateTime::createFromTimestamp(): Argument #1 ($timestamp) must be a finit… 205 …DateRangeError: DateTimeImmutable::createFromTimestamp(): Argument #1 ($timestamp) must be a finit… 206 …amp(%f): DateRangeError: DateTime::createFromTimestamp(): Argument #1 ($timestamp) must be a finit… 207 …DateRangeError: DateTimeImmutable::createFromTimestamp(): Argument #1 ($timestamp) must be a finit… 208 …mp(NAN): DateRangeError: DateTime::createFromTimestamp(): Argument #1 ($timestamp) must be a finit… 209 …DateRangeError: DateTimeImmutable::createFromTimestamp(): Argument #1 ($timestamp) must be a finit… 210 …mp(INF): DateRangeError: DateTime::createFromTimestamp(): Argument #1 ($timestamp) must be a finit… 211 …DateRangeError: DateTimeImmutable::createFromTimestamp(): Argument #1 ($timestamp) must be a finit… 212 …p(-INF): DateRangeError: DateTime::createFromTimestamp(): Argument #1 ($timestamp) must be a finit… 213 …DateRangeError: DateTimeImmutable::createFromTimestamp(): Argument #1 ($timestamp) must be a finit…
|
H A D | createFromTimestamp_32bit.phpt | 121 …3648.5): DateRangeError: DateTime::createFromTimestamp(): Argument #1 ($timestamp) must be a finit… 122 …DateRangeError: DateTimeImmutable::createFromTimestamp(): Argument #1 ($timestamp) must be a finit… 123 …4671.0): DateRangeError: DateTime::createFromTimestamp(): Argument #1 ($timestamp) must be a finit… 124 …DateRangeError: DateTimeImmutable::createFromTimestamp(): Argument #1 ($timestamp) must be a finit… 125 …4673.0): DateRangeError: DateTime::createFromTimestamp(): Argument #1 ($timestamp) must be a finit… 126 …DateRangeError: DateTimeImmutable::createFromTimestamp(): Argument #1 ($timestamp) must be a finit…
|
H A D | date_basic1.phpt | 10 $timestamp = mktime(10, 44, 30, 2, 27, 2009); 12 var_dump( date("F j, Y, g:i a", $timestamp) ); 13 var_dump( date("m.d.y", $timestamp) ); 14 var_dump( date("j, n, Y", $timestamp) ); 15 var_dump( date("Ymd", $timestamp) ); 16 var_dump( date('h-i-s, j-m-y, it is w Day', $timestamp) ); 17 var_dump( date('\i\t \i\s \t\h\e jS \d\a\y.', $timestamp) ); 18 var_dump( date("D M j G:i:s T Y", $timestamp) ); 19 var_dump( date('H:m:s \m \i\s\ \m\o\n\t\h', $timestamp) ); 20 var_dump( date("H:i:s", $timestamp) );
|
H A D | date_timestamp_set_nullparam2.phpt | 17 Deprecated: date_timestamp_set(): Passing null to parameter #2 ($timestamp) of type int is deprecat…
|
H A D | getdate_basic.phpt | 11 $timestamp = 10; 14 var_dump( getdate($timestamp) );
|
H A D | getdate_variation2.phpt | 2 Test getdate() function : usage variation - Passing octal timestamp values 19 // loop through each element of the array for timestamp
|
H A D | getdate_variation3.phpt | 2 Test getdate() function : usage variation - Passing hexadcimal timestamp values 19 // loop through each element of the array for timestamp
|
H A D | getdate_variation4.phpt | 20 // loop through each element of the array for timestamp
|
H A D | getdate_variation5.phpt | 2 …st getdate() function : usage variation - Verifyig with different timezones on Unix epoch timestamp 25 // loop through each element of the array for timestamp
|
H A D | gmdate_basic.phpt | 10 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 13 var_dump( gmdate($format, $timestamp) );
|
H A D | gmdate_variation10.phpt | 9 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 13 var_dump( gmdate('e', $timestamp) ); 17 var_dump( gmdate('I', $timestamp) ); 21 var_dump( gmdate('O', $timestamp) ); 25 var_dump( gmdate('P', $timestamp) ); 29 var_dump( gmdate('T', $timestamp) ); 33 var_dump( gmdate('T', $timestamp) );
|