Lines Matching refs:timestamp
2 Test gmdate() function : usage variation - Valid and invalid range of timestamp 64 bits.
14 $timestamp = mktime(20, 45, 54, 12, 13, 1901);
15 echo "\n-- Testing gmdate() function with minimum range of timestamp --\n";
16 var_dump( gmdate(DATE_ISO8601, $timestamp) );
18 $timestamp = mktime(20, 45, 50, 12, 13, 1901);
19 echo "\n-- Testing gmdate() function with less than the range of timestamp --\n";
20 var_dump( gmdate(DATE_ISO8601, $timestamp) );
22 echo "\n-- Testing gmdate() function with maximum range of timestamp --\n";
23 $timestamp = mktime(03, 14, 07, 1, 19, 2038);
24 var_dump( gmdate(DATE_ISO8601, $timestamp) );
26 echo "\n-- Testing gmdate() function with greater than the range of timestamp --\n";
27 $timestamp = mktime(03, 14, 10, 1, 19, 2038);
28 var_dump( gmdate(DATE_ISO8601, $timestamp) );
34 -- Testing gmdate() function with minimum range of timestamp --
37 -- Testing gmdate() function with less than the range of timestamp --
40 -- Testing gmdate() function with maximum range of timestamp --
43 -- Testing gmdate() function with greater than the range of timestamp --