Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 25 of 162) sorted by relevance

1234567

/php-src/ext/date/tests/
H A Dgmdate_variation12_64bits.phpt14 $timestamp = mktime(20, 45, 54, 12, 13, 1901);
16 var_dump( gmdate(DATE_ISO8601, $timestamp) );
18 $timestamp = mktime(20, 45, 50, 12, 13, 1901);
20 var_dump( gmdate(DATE_ISO8601, $timestamp) );
23 $timestamp = mktime(03, 14, 07, 1, 19, 2038);
24 var_dump( gmdate(DATE_ISO8601, $timestamp) );
27 $timestamp = mktime(03, 14, 10, 1, 19, 2038);
28 var_dump( gmdate(DATE_ISO8601, $timestamp) );
34 -- Testing gmdate() function with minimum range of timestamp --
37 -- Testing gmdate() function with less than the range of timestamp --
[all …]
H A Dgmdate_variation12.phpt15 $timestamp = mktime(20, 45, 54, 12, 13, 1901);
16 var_dump( gmdate(DATE_ISO8601, $timestamp) );
19 $timestamp = mktime(20, 45, 50, 12, 13, 1901);
20 var_dump( gmdate(DATE_ISO8601, $timestamp) );
23 $timestamp = mktime(03, 14, 07, 1, 19, 2038);
24 var_dump( gmdate(DATE_ISO8601, $timestamp) );
27 $timestamp = mktime(03, 14, 10, 1, 19, 2038);
28 var_dump( gmdate(DATE_ISO8601, $timestamp) );
34 -- Testing gmdate() function with minimum range of timestamp --
37 -- Testing gmdate() function with less than the range of timestamp --
[all …]
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 Dbug66836.phpt7 foreach (['-1', '-86400', '-1000000'] as $timestamp) {
8 $dt = DateTime::createFromFormat('U', $timestamp);
9 var_dump($dt->format('U') === $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) );
H A Dgmdate_variation6.phpt9 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
13 var_dump( gmdate('F', $timestamp) );
17 var_dump( gmdate('m', $timestamp) );
21 var_dump( gmdate('M', $timestamp) );
25 var_dump( gmdate('n', $timestamp) );
29 var_dump( gmdate('t', $timestamp) );
H A Didate_variation6.phpt12 $timestamp = mktime(8, 8, 8, 8, 8, 1970);
13 var_dump( idate($format, $timestamp) );
16 $timestamp = mktime(8, 8, 8, 8, 8, 2001);
17 var_dump( idate($format, $timestamp) );
H A Dgmdate_variation11.phpt9 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
13 var_dump( gmdate('c', $timestamp) );
17 var_dump( gmdate('r', $timestamp) );
21 var_dump( gmdate('U', $timestamp) );
H A Dgmdate_variation4.phpt9 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
13 var_dump( gmdate('D', $timestamp) );
17 var_dump( gmdate('l', $timestamp) );
21 var_dump( gmdate('S', $timestamp) );
H A Dgmdate_variation7.phpt9 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
17 var_dump( gmdate('L', $timestamp) );
21 var_dump( gmdate('o', $timestamp) );
25 var_dump( gmdate('Y', $timestamp) );
29 var_dump( gmdate('y', $timestamp) );
/php-src/ext/intl/tests/
H A Ddateformat_format_parse_version_icu72-1.phpt145 Input timestamp is : 0
150 Parsed timestamp is : 0
153 Parsed timestamp is : 0
156 Parsed timestamp is : 0
229 Input timestamp is : 3600
234 Parsed timestamp is : 3600
237 Parsed timestamp is : 3600
240 Parsed timestamp is : 3600
243 Input timestamp is : -3600
248 Parsed timestamp is : -3600
[all …]
H A Ddateformat_format_parse_version2.phpt145 Input timestamp is : 0
150 Parsed timestamp is : 0
153 Parsed timestamp is : 0
156 Parsed timestamp is : 0
229 Input timestamp is : 3600
234 Parsed timestamp is : 3600
237 Parsed timestamp is : 3600
240 Parsed timestamp is : 3600
243 Input timestamp is : -3600
248 Parsed timestamp is : -3600
[all …]
H A Ddateformat_format_variant3.phpt157 Input timestamp is : 0
172 Input timestamp is : -1200000
187 Input timestamp is : 1200000
202 Input timestamp is : 2200000000
212 Formatted timestamp is : 9/18/39, 1:06 PM
217 Input timestamp is : -2200000000
227 Formatted timestamp is : 4/14/00, 2:53 PM
232 Input timestamp is : 90099999
242 Formatted timestamp is : 11/8/72, 9:46 AM
247 Input timestamp is : 3600
[all …]
H A Ddateformat_clone2.phpt17 $res_str .= "\nResult of formatting timestamp=0 is : \n$formatted";
23 $res_str .= "\nResult of formatting timestamp=0 is : \n$formatted";
25 $res_str .= "\nResult of clone formatting timestamp=0 is : \n$formatted";
31 Result of formatting timestamp=0 is :
33 Result of formatting timestamp=0 is :
35 Result of clone formatting timestamp=0 is :
H A Ddateformat_set_timezone_id_icu72-1.phpt44 $res_str .= "\nFormatting timestamp=0 resulted in $formatted";
46 $res_str .= "\nFormatting timestamp=3600 resulted in $formatted";
69 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 7:00:00 PM Eastern Standard Time
70 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 8:00:00 PM Eastern Standard …
74 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 4:00:00 PM Pacific Standard Time
75 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 5:00:00 PM Pacific Standard …
79 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 6:00:00 PM Central Standard Time
80 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 7:00:00 PM Central Standard …
84 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 6:00:00 PM Central Standard Time
85 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 7:00:00 PM Central Standard …
H A Ddateformat_set_timezone_id3.phpt44 $res_str .= "\nFormatting timestamp=0 resulted in $formatted";
46 $res_str .= "\nFormatting timestamp=3600 resulted in $formatted";
69 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 7:00:00 PM Eastern Standard Time
70 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 8:00:00 PM Eastern Standard …
74 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 4:00:00 PM Pacific Standard Time
75 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 5:00:00 PM Pacific Standard …
79 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 6:00:00 PM Central Standard Time
80 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 7:00:00 PM Central Standard …
84 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 6:00:00 PM Central Standard Time
85 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 7:00:00 PM Central Standard …
H A Ddateformat_get_set_pattern2.phpt31 $res_str .= "\nResult of formatting timestamp=0 is : \n$formatted";
42 … $res_str .= "\nResult of formatting timestamp=0 with the new pattern is : \n$formatted";
59 Result of formatting timestamp=0 is :
64 Result of formatting timestamp=0 with the new pattern is :
70 Result of formatting timestamp=0 with the new pattern is :
76 Result of formatting timestamp=0 with the new pattern is :
82 Result of formatting timestamp=0 with the new pattern is :
/php-src/ext/soap/tests/bugs/
H A Dbug35142.phpt10 $timestamp = "2005-11-08T11:22:07+03:00";
45 $logOnEvent = new LogOnEvent(34567, $timestamp);
46 $logOffEvents[] = new LogOffEvent(34567, $timestamp, "Smoked");
54 public $timestamp;
60 $this->timestamp = $timestamp;
68 public $timestamp;
70 function __construct($audienceMemberId, $timestamp) {
72 $this->timestamp = $timestamp;
111 ["timestamp"]=>
120 ["timestamp"]=>
[all …]
H A Dbug36226.phpt10 $timestamp = "2005-11-08T11:22:07+03:00";
46 $logOnEvent = new LogOnEvent(34567, $timestamp);
47 $logOffEvents[] = new LogOffEvent(34567, $timestamp, "Smoked");
55 public $timestamp;
61 $this->timestamp = $timestamp;
69 public $timestamp;
71 function __construct($audienceMemberId, $timestamp) {
73 $this->timestamp = $timestamp;
114 ["timestamp"]=>
124 ["timestamp"]=>
[all …]
H A Dbug36226-2.phpt9 $timestamp = "2005-11-08T11:22:07+03:00";
48 $logOffEvents[] = new LogOffEvent(34567, $timestamp, "Smoked");
49 //$logOffEvents[] = new LogOffEvent(34568, $timestamp, "SmokeFree");
55 public $timestamp;
59 function __construct($audienceMemberId, $timestamp, $smokeStatus) {
61 $this->timestamp = $timestamp;
69 public $timestamp;
71 function __construct($audienceMemberId, $timestamp) {
73 $this->timestamp = $timestamp;
98 …essageId="12345" source="IVR"><ns1:logOffEvent audienceMemberId="34567" timestamp="2005-11-08T11:2…
[all …]
/php-src/ext/standard/tests/misc/
H A Dgh14774.phpt18 time_sleep_until(): Argument #1 ($timestamp) must be between 0 and %d
19 time_sleep_until(): Argument #1 ($timestamp) must be between 0 and %d
20 time_sleep_until(): Argument #1 ($timestamp) must be between 0 and %d
21 time_sleep_until(): Argument #1 ($timestamp) must be between 0 and %d
22 time_sleep_until(): Argument #1 ($timestamp) must be between 0 and %d
23 time_sleep_until(): Argument #1 ($timestamp) must be between 0 and %d
/php-src/ext/intl/dateformat/
H A Ddateformat_format.c31 static void internal_format(IntlDateFormatter_object *dfo, UDate timestamp, zval *return_value) in internal_format() argument
36 …resultlengthneeded=udat_format( DATE_FORMAT_OBJECT(dfo), timestamp, NULL, resultlengthneeded, NULL… in internal_format()
41 …udat_format( DATE_FORMAT_OBJECT(dfo), timestamp, formatted, resultlengthneeded, NULL, &INTL_DATA_E… in internal_format()
143 UDate timestamp = 0; in PHP_FUNCTION() local
165 timestamp = internal_get_timestamp(dfo, hash_arr); in PHP_FUNCTION()
168 timestamp = intl_zval_to_millis(zarg, INTL_DATA_ERROR_P(dfo), in PHP_FUNCTION()
175 internal_format( dfo, timestamp, return_value); in PHP_FUNCTION()
/php-src/ext/mysqli/tests/
H A Dbug76386.phpt15 …die(sprintf("skip Server doesn't support fractional seconds in timestamp (%s)", mysqli_get_server_…
27 'ts timestamp default current_timestamp(), ts2 timestamp(2) default ' .
28 'current_timestamp(2), ts2b timestamp(2) default "2018-01-01 03:04:05.06", ' .
29 'ts4 timestamp(4) default current_timestamp(4), ts4b timestamp(4) default ' .
30 '"2018-01-01 03:04:05.0070", ts6 timestamp(6) default current_timestamp(6), ts6b ' .
31 'timestamp(6) default "2018-01-01 03:04:05.008000") character set utf8 collate ' .
/php-src/ext/date/
H A Dphp_date.stub.php107 function date(string $format, ?int $timestamp = null): string {} argument
109 function idate(string $format, ?int $timestamp = null): int|false {} argument
112 function gmdate(string $format, ?int $timestamp = null): string {} argument
128 function strftime(string $format, ?int $timestamp = null): string|false {} argument
134 function gmstrftime(string $format, ?int $timestamp = null): string|false {} argument
148 function getdate(?int $timestamp = null): array {} argument
210 function date_timestamp_set(DateTime $object, int $timestamp): DateTime {} argument
269 int $timestamp, int $returnFormat = SUNFUNCS_RET_STRING, argument
278 int $timestamp, int $returnFormat = SUNFUNCS_RET_STRING, argument
444 public function setTimestamp(int $timestamp): DateTime {} argument
[all …]
/php-src/ext/mysqli/tests/bind_insert/
H A Ddatetime_types.phpt19 /* 14 Too big precision for timestamp */
25 c3 timestamp,
28 c6 timestamp,
29 c7 timestamp

Completed in 63 milliseconds

1234567