Home
last modified time | relevance | path

Searched refs:timestamp (Results 76 – 100 of 160) sorted by path

1234567

/PHP-7.4/ext/date/tests/
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 Dlocaltime_variation4.phpt2 Test localtime() function : usage variation - Passing octal values to timestamp.
5 /* Prototype : array localtime([int timestamp [, bool associative_array]])
H A Dlocaltime_variation5.phpt2 Test localtime() function : usage variation - Passing hexa decimal values to timestamp.
5 /* Prototype : array localtime([int timestamp [, bool associative_array]])
H A Dmktime_basic1.phpt6 * Description: Get Unix timestamp for a date
H A Dmktime_error.phpt6 * Description: Get Unix timestamp for a date
H A Dstrftime_basic.phpt5 /* Prototype : string strftime(string format [, int timestamp])
16 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
19 var_dump( strftime($format, $timestamp) );
H A Dstrftime_variation10.phpt11 /* Prototype : string strftime(string format [, int timestamp])
22 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
30 // loop through each element of the array for timestamp
35 var_dump( strftime($value, $timestamp) );
H A Dstrftime_variation11.phpt5 /* Prototype : string strftime(string format [, int timestamp])
16 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
21 var_dump( strftime($format, $timestamp) );
H A Dstrftime_variation12.phpt11 /* Prototype : string strftime(string format [, int timestamp])
22 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
27 var_dump( strftime($format, $timestamp) );
H A Dstrftime_variation13.phpt5 /* Prototype : string strftime(string format [, int timestamp])
16 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
26 // loop through each element of the array for timestamp
31 var_dump( strftime($value, $timestamp) );
H A Dstrftime_variation14.phpt11 /* Prototype : string strftime(string format [, int timestamp])
22 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
32 // loop through each element of the array for timestamp
37 var_dump( strftime($value, $timestamp) );
H A Dstrftime_variation15.phpt5 /* Prototype : string strftime(string format [, int timestamp])
16 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
25 // loop through each element of the array for timestamp
30 var_dump( strftime($value, $timestamp) );
H A Dstrftime_variation16.phpt11 /* Prototype : string strftime(string format [, int timestamp])
22 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
31 // loop through each element of the array for timestamp
36 var_dump( strftime($value, $timestamp) );
H A Dstrftime_variation17.phpt5 /* Prototype : string strftime(string format [, int timestamp])
16 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
21 var_dump( strftime($format, $timestamp) );
H A Dstrftime_variation18.phpt11 /* Prototype : string strftime(string format [, int timestamp])
22 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
27 var_dump( strftime($format, $timestamp) );
H A Dstrftime_variation19.phpt5 /* Prototype : string strftime(string format [, int timestamp])
16 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
24 // loop through each element of the array for timestamp
29 var_dump( strftime($value, $timestamp) );
H A Dstrftime_variation20.phpt11 /* Prototype : string strftime(string format [, int timestamp])
22 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
30 // loop through each element of the array for timestamp
35 var_dump( strftime($value, $timestamp) );
H A Dstrftime_variation21.phpt5 /* Prototype : string strftime(string format [, int timestamp])
16 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
25 // loop through each element of the array for timestamp
30 var_dump( strftime($value, $timestamp) );
H A Dstrftime_variation22.phpt14 /* Prototype : string strftime(string format [, int timestamp])
26 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
35 // loop through each element of the array for timestamp
40 var_dump( strftime($value, $timestamp) );
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 Dstrftime_variation3.phpt5 /* Prototype : string strftime(string format [, int timestamp])
15 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
24 // loop through each element of the array for timestamp
29 var_dump( strftime($value, $timestamp) );
H A Dstrftime_variation4.phpt5 /* Prototype : string strftime(string format [, int timestamp])
15 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
24 // loop through each element of the array for timestamp
29 var_dump( strftime($value, $timestamp) );
H A Dstrftime_variation5.phpt5 /* Prototype : string strftime(string format [, int timestamp])
16 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
26 // loop through each element of the array for timestamp
31 var_dump( strftime($value, $timestamp) );
H A Dstrftime_variation6.phpt5 /* Prototype : string strftime(string format [, int timestamp])
16 $timestamp = mktime(18, 8, 8, 8, 8, 2008);
28 // loop through each element of the array for timestamp
33 var_dump( strftime($value, $timestamp) );
H A Dstrftime_variation7.phpt5 /* Prototype : string strftime(string format [, int timestamp])
16 $timestamp = mktime(18, 8, 8, 8, 8, 2008);
26 // loop through each element of the array for timestamp
31 var_dump( strftime($value, $timestamp) );

Completed in 27 milliseconds

1234567