Home
last modified time | relevance | path

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

1234567

/PHP-7.4/ext/date/tests/
H A Dgmdate_variation12.phpt5 /* Prototype : string gmdate(string format [, long timestamp])
16 $timestamp = mktime(20, 45, 54, 12, 13, 1901);
18 var_dump( gmdate(DATE_ISO8601, $timestamp) );
20 $timestamp = mktime(20, 45, 50, 12, 13, 1901);
22 var_dump( gmdate(DATE_ISO8601, $timestamp) );
25 $timestamp = mktime(03, 14, 07, 1, 19, 2038);
26 var_dump( gmdate(DATE_ISO8601, $timestamp) );
29 $timestamp = mktime(03, 14, 10, 1, 19, 2038);
30 var_dump( gmdate(DATE_ISO8601, $timestamp) );
37 -- Testing gmdate\(\) function with minimum range of timestamp --
[all …]
H A Ddate_basic1.phpt5 /* Prototype : string date ( string $format [, int $timestamp ] )
15 $timestamp = mktime(10, 44, 30, 2, 27, 2009);
17 var_dump( date("F j, Y, g:i a", $timestamp) );
18 var_dump( date("m.d.y", $timestamp) );
19 var_dump( date("j, n, Y", $timestamp) );
20 var_dump( date("Ymd", $timestamp) );
21 var_dump( date('h-i-s, j-m-y, it is w Day', $timestamp) );
22 var_dump( date('\i\t \i\s \t\h\e jS \d\a\y.', $timestamp) );
23 var_dump( date("D M j G:i:s T Y", $timestamp) );
24 var_dump( date('H:m:s \m \i\s\ \m\o\n\t\h', $timestamp) );
[all …]
H A Dgmdate_variation14.phpt2 …gmdate() function : usage variation - Passing high positive and negetive float values to timestamp.
7 /* Prototype : string gmdate(string format [, long timestamp])
18 echo "\n-- Testing gmdate() function with float 12.3456789000e10 to timestamp --\n";
19 $timestamp = 12.3456789000e10;
20 var_dump( gmdate($format, $timestamp) );
22 echo "\n-- Testing gmdate() function with float -12.3456789000e10 to timestamp --\n";
23 $timestamp = -12.3456789000e10;
24 var_dump( gmdate($format, $timestamp) );
31 -- Testing gmdate() function with float 12.3456789000e10 to timestamp --
36 -- Testing gmdate() function with float -12.3456789000e10 to timestamp --
H A Dgetdate_variation7.phpt2 …etdate() function : usage variation - Passing high positive and negative float values to timestamp.
7 /* Prototype : array getdate([int timestamp])
16 echo "\n-- Testing getdate() function by passing float 12.3456789000e10 value to timestamp --\n";
17 $timestamp = 12.3456789000e10;
18 var_dump( getdate($timestamp) );
20 echo "\n-- Testing getdate() function by passing float -12.3456789000e10 value to timestamp --\n";
21 $timestamp = -12.3456789000e10;
22 var_dump( getdate($timestamp) );
28 -- Testing getdate() function by passing float 12.3456789000e10 value to timestamp --
33 -- Testing getdate() function by passing float -12.3456789000e10 value to timestamp --
H A Didate_variation3.phpt2 …date() function : usage variation - Passing higher positive and negetive float values to timestamp.
7 /* Prototype : int idate(string format [, int timestamp])
19 echo "\n-- Testing idate() function with float 12.3456789000e10 to timestamp --\n";
20 $timestamp = 12.3456789000e10;
21 var_dump( idate($format, $timestamp) );
23 echo "\n-- Testing idate() function with float -12.3456789000e10 to timestamp --\n";
24 $timestamp = -12.3456789000e10;
25 var_dump( idate($format, $timestamp) );
32 -- Testing idate() function with float 12.3456789000e10 to timestamp --
37 -- Testing idate() function with float -12.3456789000e10 to timestamp --
H A Dlocaltime_variation3.phpt7 /* Prototype : array localtime([int timestamp [, bool associative_array]])
20 echo "\n-- Testing localtime() function with 'float 12.3456789000e10' to timestamp --\n";
21 $timestamp = 12.3456789000e10;
22 var_dump( localtime($timestamp) );
23 var_dump( localtime($timestamp, $is_associative) );
25 echo "\n-- Testing localtime() function with 'float -12.3456789000e10' to timestamp --\n";
26 $timestamp = -12.3456789000e10;
27 var_dump( localtime($timestamp) );
28 var_dump( localtime($timestamp, $is_associative) );
35 -- Testing localtime() function with 'float 12.3456789000e10' to timestamp --
[all …]
H A Dstrftime_variation23.phpt2 …time() function : usage variation - Checking large positive and negative float values to timestamp.
7 /* Prototype : string strftime(string format [, int timestamp])
20 echo "\n-- Testing strftime() function with float 12.3456789000e10 to timestamp --\n";
21 $timestamp = 12.3456789000e10;
22 var_dump( strftime($format, $timestamp) );
24 echo "\n-- Testing strftime() function with float -12.3456789000e10 to timestamp --\n";
25 $timestamp = -12.3456789000e10;
26 var_dump( strftime($format, $timestamp) );
33 -- Testing strftime() function with float 12.3456789000e10 to timestamp --
38 -- Testing strftime() function with float -12.3456789000e10 to 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.phpt5 /* Prototype : string gmdate(string format [, long timestamp])
15 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
19 var_dump( gmdate('e', $timestamp) );
23 var_dump( gmdate('I', $timestamp) );
27 var_dump( gmdate('O', $timestamp) );
31 var_dump( gmdate('P', $timestamp) );
35 var_dump( gmdate('T', $timestamp) );
39 var_dump( gmdate('T', $timestamp) );
H A Didate_variation6.phpt5 /* Prototype : int idate(string format [, int timestamp])
18 $timestamp = mktime(8, 8, 8, 8, 8, 1970);
19 var_dump( idate($format, $timestamp) );
22 $timestamp = mktime(8, 8, 8, 8, 8, 2001);
23 var_dump( idate($format, $timestamp) );
H A Dgmdate_variation6.phpt5 /* Prototype : string gmdate(string format [, long timestamp])
15 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
19 var_dump( gmdate('F', $timestamp) );
23 var_dump( gmdate('m', $timestamp) );
27 var_dump( gmdate('M', $timestamp) );
31 var_dump( gmdate('n', $timestamp) );
35 var_dump( gmdate('t', $timestamp) );
H A Dgmdate_variation11.phpt5 /* Prototype : string gmdate(string format [, long timestamp])
15 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
19 var_dump( gmdate('c', $timestamp) );
23 var_dump( gmdate('r', $timestamp) );
27 var_dump( gmdate('U', $timestamp) );
H A Dgmdate_variation4.phpt5 /* Prototype : string gmdate(string format [, long timestamp])
15 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
19 var_dump( gmdate('D', $timestamp) );
23 var_dump( gmdate('l', $timestamp) );
27 var_dump( gmdate('S', $timestamp) );
/PHP-7.4/ext/intl/tests/
H A Ddateformat_format_parse.phpt144 Input timestamp is : 0
149 Parsed timestamp is : 0
152 Parsed timestamp is : 0
155 Parsed timestamp is : 0
228 Input timestamp is : 3600
233 Parsed timestamp is : 3600
236 Parsed timestamp is : 3600
239 Parsed timestamp is : 3600
242 Input timestamp is : -3600
247 Parsed timestamp is : -3600
[all …]
H A Ddateformat_format_parse_version2.phpt144 Input timestamp is : 0
149 Parsed timestamp is : 0
152 Parsed timestamp is : 0
155 Parsed timestamp is : 0
228 Input timestamp is : 3600
233 Parsed timestamp is : 3600
236 Parsed timestamp is : 3600
239 Parsed timestamp is : 3600
242 Input timestamp is : -3600
247 Parsed timestamp is : -3600
[all …]
H A Ddateformat_format.phpt156 Input timestamp is : 0
166 Formatted timestamp is : 12/31/69 2:00 PM
171 Input timestamp is : -1200000
186 Input timestamp is : 1200000
201 Input timestamp is : 2200000000
211 Formatted timestamp is : 9/18/39 1:06 PM
216 Input timestamp is : -2200000000
226 Formatted timestamp is : 4/14/00 2:53 PM
231 Input timestamp is : 90099999
246 Input timestamp is : 3600
[all …]
H A Ddateformat_format_variant3.phpt156 Input timestamp is : 0
166 Formatted timestamp is : 12/31/69, 2:00 PM
171 Input timestamp is : -1200000
186 Input timestamp is : 1200000
201 Input timestamp is : 2200000000
211 Formatted timestamp is : 9/18/39, 1:06 PM
216 Input timestamp is : -2200000000
226 Formatted timestamp is : 4/14/00, 2:53 PM
231 Input timestamp is : 90099999
246 Input timestamp is : 3600
[all …]
H A Ddateformat_format_variant2.phpt156 Input timestamp is : 0
166 Formatted timestamp is : 12/31/69, 2:00 PM
171 Input timestamp is : -1200000
186 Input timestamp is : 1200000
201 Input timestamp is : 2200000000
211 Formatted timestamp is : 9/18/39, 1:06 PM
216 Input timestamp is : -2200000000
226 Formatted timestamp is : 4/14/00, 2:53 PM
231 Input timestamp is : 90099999
246 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_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 …
/PHP-7.4/ext/soap/tests/bugs/
H A Dbug35142.phpt10 $timestamp = "2005-11-08T11:22:07+03:00";
41 $logOnEvent = new LogOnEvent(34567, $timestamp);
42 $logOffEvents[] = new LogOffEvent(34567, $timestamp, "Smoked");
50 public $timestamp;
56 $this->timestamp = $timestamp;
64 public $timestamp;
66 function __construct($audienceMemberId, $timestamp) {
68 $this->timestamp = $timestamp;
107 ["timestamp"]=>
116 ["timestamp"]=>
[all …]
H A Dbug36226.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;
110 ["timestamp"]=>
120 ["timestamp"]=>
[all …]
H A Dbug36226-2.phpt9 $timestamp = "2005-11-08T11:22:07+03:00";
46 $logOffEvents[] = new LogOffEvent(34567, $timestamp, "Smoked");
47 //$logOffEvents[] = new LogOffEvent(34568, $timestamp, "SmokeFree");
53 public $timestamp;
57 function __construct($audienceMemberId, $timestamp, $smokeStatus) {
59 $this->timestamp = $timestamp;
67 public $timestamp;
69 function __construct($audienceMemberId, $timestamp) {
71 $this->timestamp = $timestamp;
96 …essageId="12345" source="IVR"><ns1:logOffEvent audienceMemberId="34567" timestamp="2005-11-08T11:2…
[all …]
/PHP-7.4/ext/xmlrpc/tests/
H A Dbug44996.phpt26 [timestamp] => 1000000000
34 [timestamp] => 1000000000
42 [timestamp] => 1000000000
50 [timestamp] => 1000000000

Completed in 121 milliseconds

1234567