Lines Matching refs:timestamp
2 Test gmdate() function : usage variation - Valid and invalid range of timestamp.
5 /* Prototype : string gmdate(string format [, long timestamp])
16 $timestamp = mktime(20, 45, 54, 12, 13, 1901);
17 echo "\n-- Testing gmdate() function with minimum range of timestamp --\n";
18 var_dump( gmdate(DATE_ISO8601, $timestamp) );
20 $timestamp = mktime(20, 45, 50, 12, 13, 1901);
21 echo "\n-- Testing gmdate() function with less than the range of timestamp --\n";
22 var_dump( gmdate(DATE_ISO8601, $timestamp) );
24 echo "\n-- Testing gmdate() function with maximum range of timestamp --\n";
25 $timestamp = mktime(03, 14, 07, 1, 19, 2038);
26 var_dump( gmdate(DATE_ISO8601, $timestamp) );
28 echo "\n-- Testing gmdate() function with greater than the range of timestamp --\n";
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 --
40 -- Testing gmdate\(\) function with less than the range of timestamp --
43 -- Testing gmdate\(\) function with maximum range of timestamp --
46 -- Testing gmdate\(\) function with greater than the range of timestamp --