Lines Matching refs:gmdate
2 Test gmdate() function : usage variation - Passing Full Date/Time format options to format argument.
5 /* Prototype : string gmdate(string format [, long timestamp])
11 echo "*** Testing gmdate() : usage variation ***\n";
17 echo "\n-- Testing gmdate() function with ISO 8601 date format --\n";
18 var_dump( gmdate('c') );
19 var_dump( gmdate('c', $timestamp) );
21 echo "\n-- Testing gmdate() function with RFC 2822 date format --\n";
22 var_dump( gmdate('r') );
23 var_dump( gmdate('r', $timestamp) );
25 echo "\n-- Testing gmdate() function with seconds since Unix Epoch format --\n";
26 var_dump( gmdate('U') );
27 var_dump( gmdate('U', $timestamp) );
32 *** Testing gmdate() : usage variation ***
34 -- Testing gmdate() function with ISO 8601 date format --
38 -- Testing gmdate() function with RFC 2822 date format --
42 -- Testing gmdate() function with seconds since Unix Epoch format --