Home
last modified time | relevance | path

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

1234567

/PHP-7.4/ext/date/tests/
H A Dgetdate_basic.phpt5 /* Prototype : array getdate([int timestamp])
16 $timestamp = 10;
19 var_dump( getdate($timestamp) );
H A Dgetdate_variation2.phpt2 Test getdate() function : usage variation - Passing octal timestamp values
5 /* Prototype : array getdate([int timestamp])
25 // loop through each element of the array for timestamp
H A Dgetdate_variation3.phpt2 Test getdate() function : usage variation - Passing hexadcimal timestamp values
5 /* Prototype : array getdate([int timestamp])
25 // loop through each element of the array for timestamp
H A Dgetdate_variation4.phpt5 /* Prototype : array getdate([int timestamp])
26 // 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
5 /* Prototype : array getdate([int timestamp])
31 // loop through each element of the array for timestamp
H A Dgetdate_variation6.phpt5 /* Prototype : array getdate([int timestamp])
22 // loop through each element of the array for 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 Dgmdate_basic.phpt5 /* Prototype : string gmdate(string format [, long timestamp])
16 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
19 var_dump( gmdate($format, $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 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_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 Dgmdate_variation13.phpt5 /* Prototype : string gmdate(string format [, long timestamp])
14 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
34 var_dump( gmdate($value, $timestamp) );
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 Dgmdate_variation3.phpt5 /* Prototype : string gmdate(string format [, long timestamp])
15 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
27 // loop through each element of the array for timestamp
32 var_dump( gmdate($value, $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) );
H A Dgmdate_variation5.phpt5 /* Prototype : string gmdate(string format [, long timestamp])
15 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
19 var_dump( gmdate('W', $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_variation7.phpt5 /* Prototype : string gmdate(string format [, long timestamp])
15 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
23 var_dump( gmdate('L', $timestamp) );
27 var_dump( gmdate('o', $timestamp) );
31 var_dump( gmdate('Y', $timestamp) );
35 var_dump( gmdate('y', $timestamp) );
H A Dgmdate_variation9.phpt5 /* Prototype : string gmdate(string format [, long timestamp])
15 $timestamp = mktime(8, 8, 8, 8, 8, 2008);
34 var_dump( gmdate($value, $timestamp) );
H A Dgmmktime_basic.phpt6 * Description: Get UNIX timestamp for a GMT date
H A Dgmmktime_variation7.phpt6 * Description: Get UNIX timestamp for a GMT date
H A Dgmmktime_variation8.phpt6 * Description: Get UNIX timestamp for a GMT date
H A Dgmmktime_variation9.phpt6 * Description: Get UNIX timestamp for a GMT date
H A Dgmstrftime_basic.phpt5 /* Prototype : string gmstrftime(string format [, int timestamp])
15 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
18 var_dump( gmstrftime($format, $timestamp) );
H A Dgmstrftime_variation10.phpt11 /* Prototype : string gmstrftime(string format [, int timestamp])
20 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
30 // loop through each element of the array for timestamp
35 var_dump( gmstrftime($value, $timestamp) );

Completed in 80 milliseconds

1234567