Home
last modified time | relevance | path

Searched refs:timestamp (Results 26 – 50 of 167) sorted by path

1234567

/php-src/ext/date/tests/
H A Dbug41964.phpt2 Bug #41964 (strtotime returns a timestamp for non-time string of pattern '(A|a) .+')
H A Dbug43003.phpt2 Bug #43003 (Invalid timezone reported for DateTime objects constructed using a timestamp)
H A Dbug43527.phpt2 Bug #43527 (DateTime created from a timestamp reports environment timezone)
H A Dbug43960.phpt2 Bug #43960 (strtotime() returns timestamp in the future when given a bogus string)
H A Dbug52062.phpt39 TypeError: DateTime::setTimestamp(): Argument #1 ($timestamp) must be of type int, float given
H A Dbug52290.phpt2 Bug #52290 (setDate, setISODate, setTime works wrong when DateTime created from timestamp)
H A Dbug52342.phpt2 Bug #52342 (DateTime setIsoDate results in wrong timestamp)
H A Dbug60236.phpt2 Bug #60236 (TLA timezone dates are not converted properly from timestamp)
H A Dbug65184.phpt15 /* timestamp has to be some wednesday */
H A Dbug66836.phpt7 foreach (['-1', '-86400', '-1000000'] as $timestamp) {
8 $dt = DateTime::createFromFormat('U', $timestamp);
9 var_dump($dt->format('U') === $timestamp);
H A Dbug68549-dst-transition-DateTime-setTimestamp.phpt2 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 Dbug68549-dst-transition-DateTime-setTimezone.phpt132 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 Dbug69806.phpt2 Bug #69806 (Incorrect date from timestamp)
H A Dbug73489.phpt2 Bug #73489: wrong timestamp when call setTimeZone multi times with UTC offset
H A DcreateFromTimestamp.phpt204 …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 DcreateFromTimestamp_32bit.phpt121 …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 Ddate_basic1.phpt10 $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 Ddate_timestamp_set_nullparam2.phpt17 Deprecated: date_timestamp_set(): Passing null to parameter #2 ($timestamp) of type int is deprecat…
H A Dgetdate_basic.phpt11 $timestamp = 10;
14 var_dump( getdate($timestamp) );
H A Dgetdate_variation2.phpt2 Test getdate() function : usage variation - Passing octal timestamp values
19 // loop through each element of the array for timestamp
H A Dgetdate_variation3.phpt2 Test getdate() function : usage variation - Passing hexadcimal timestamp values
19 // loop through each element of the array for timestamp
H A Dgetdate_variation4.phpt20 // loop through each element of the array for timestamp
H A Dgetdate_variation5.phpt2 …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 Dgmdate_basic.phpt10 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
13 var_dump( gmdate($format, $timestamp) );
H A Dgmdate_variation10.phpt9 $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) );

Completed in 31 milliseconds

1234567