/PHP-7.4/ext/date/tests/ |
H A D | getdate_basic.phpt | 5 /* Prototype : array getdate([int timestamp]) 16 $timestamp = 10; 19 var_dump( getdate($timestamp) );
|
H A D | getdate_variation2.phpt | 2 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 D | getdate_variation3.phpt | 2 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 D | getdate_variation4.phpt | 5 /* Prototype : array getdate([int timestamp]) 26 // loop through each element of the array for timestamp
|
H A D | getdate_variation5.phpt | 2 …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 D | getdate_variation6.phpt | 5 /* Prototype : array getdate([int timestamp]) 22 // loop through each element of the array for timestamp
|
H A D | getdate_variation7.phpt | 2 …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 D | gmdate_basic.phpt | 5 /* Prototype : string gmdate(string format [, long timestamp]) 16 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 19 var_dump( gmdate($format, $timestamp) );
|
H A D | gmdate_variation10.phpt | 5 /* 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 D | gmdate_variation11.phpt | 5 /* 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 D | gmdate_variation12.phpt | 5 /* 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 D | gmdate_variation13.phpt | 5 /* Prototype : string gmdate(string format [, long timestamp]) 14 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 34 var_dump( gmdate($value, $timestamp) );
|
H A D | gmdate_variation14.phpt | 2 …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 D | gmdate_variation3.phpt | 5 /* 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 D | gmdate_variation4.phpt | 5 /* 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 D | gmdate_variation5.phpt | 5 /* Prototype : string gmdate(string format [, long timestamp]) 15 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 19 var_dump( gmdate('W', $timestamp) );
|
H A D | gmdate_variation6.phpt | 5 /* 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 D | gmdate_variation7.phpt | 5 /* 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 D | gmdate_variation9.phpt | 5 /* Prototype : string gmdate(string format [, long timestamp]) 15 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 34 var_dump( gmdate($value, $timestamp) );
|
H A D | gmmktime_basic.phpt | 6 * Description: Get UNIX timestamp for a GMT date
|
H A D | gmmktime_variation7.phpt | 6 * Description: Get UNIX timestamp for a GMT date
|
H A D | gmmktime_variation8.phpt | 6 * Description: Get UNIX timestamp for a GMT date
|
H A D | gmmktime_variation9.phpt | 6 * Description: Get UNIX timestamp for a GMT date
|
H A D | gmstrftime_basic.phpt | 5 /* Prototype : string gmstrftime(string format [, int timestamp]) 15 $timestamp = gmmktime(8, 8, 8, 8, 8, 2008); 18 var_dump( gmstrftime($format, $timestamp) );
|
H A D | gmstrftime_variation10.phpt | 11 /* 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) );
|