Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 25 of 167) 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_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.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.phpt146 Input timestamp is : 0
151 Parsed timestamp is : 0
154 Parsed timestamp is : 0
157 Parsed timestamp is : 0
230 Input timestamp is : 3600
235 Parsed timestamp is : 3600
238 Parsed timestamp is : 3600
241 Parsed timestamp is : 3600
244 Input timestamp is : -3600
249 Parsed timestamp is : -3600
[all …]
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.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_format_variant2.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_format_variant3.phpt159 Input timestamp is : 0
174 Input timestamp is : -1200000
189 Input timestamp is : 1200000
204 Input timestamp is : 2200000000
214 Formatted timestamp is : 9/18/39, 1:06 PM
219 Input timestamp is : -2200000000
229 Formatted timestamp is : 4/14/00, 2:53 PM
234 Input timestamp is : 90099999
244 Formatted timestamp is : 11/8/72, 9:46 AM
249 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_id2.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 7:00:00 PM Eastern Standard Time
70 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 8:00:00 PM Eastern Standard Time
74 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 4:00:00 PM Pacific Standard Time
75 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 5:00:00 PM Pacific Standard Time
79 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 6:00:00 PM Central Standard Time
80 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 7:00:00 PM Central Standard Time
84 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 6:00:00 PM Central Standard Time
85 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 7:00:00 PM Central Standard Time
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.phpt45 $res_str .= "\nFormatting timestamp=0 resulted in $formatted";
47 $res_str .= "\nFormatting timestamp=3600 resulted in $formatted";
70 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 7:00:00 PM Eastern Standard Time
71 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 8:00:00 PM Eastern Standard …
75 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 4:00:00 PM Pacific Standard Time
76 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 5:00:00 PM Pacific Standard …
80 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 6:00:00 PM Central Standard Time
81 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 7:00:00 PM Central Standard …
85 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 6:00:00 PM Central Standard Time
86 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";
42 $logOnEvent = new LogOnEvent(34567, $timestamp);
43 $logOffEvents[] = new LogOffEvent(34567, $timestamp, "Smoked");
51 public $timestamp;
57 $this->timestamp = $timestamp;
65 public $timestamp;
67 function __construct($audienceMemberId, $timestamp) {
69 $this->timestamp = $timestamp;
108 ["timestamp"]=>
117 ["timestamp"]=>
[all …]
H A Dbug36226.phpt10 $timestamp = "2005-11-08T11:22:07+03:00";
43 $logOnEvent = new LogOnEvent(34567, $timestamp);
44 $logOffEvents[] = new LogOffEvent(34567, $timestamp, "Smoked");
52 public $timestamp;
58 $this->timestamp = $timestamp;
66 public $timestamp;
68 function __construct($audienceMemberId, $timestamp) {
70 $this->timestamp = $timestamp;
111 ["timestamp"]=>
121 ["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/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 ' .

Completed in 76 milliseconds

1234567