Lines Matching refs:timestamp
2 Test gmdate() function : usage variation - Valid and invalid range of timestamp 32 bits.
14 echo "\n-- Testing gmdate() function with minimum range of timestamp --\n";
15 $timestamp = mktime(20, 45, 54, 12, 13, 1901);
16 var_dump( gmdate(DATE_ISO8601, $timestamp) );
18 echo "\n-- Testing gmdate() function with less than the range of timestamp --\n";
19 $timestamp = mktime(20, 45, 50, 12, 13, 1901);
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 --
42 -- Testing gmdate() function with maximum range of timestamp --
45 -- Testing gmdate() function with greater than the range of timestamp --