Lines Matching refs:gmdate
2 Test gmdate() function : usage variation - Passing Month 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 full textual representation of month format --\n";
18 var_dump( gmdate('F') );
19 var_dump( gmdate('F', $timestamp) );
21 echo "\n-- Testing gmdate() function with numeric representation of month format --\n";
22 var_dump( gmdate('m') );
23 var_dump( gmdate('m', $timestamp) );
25 echo "\n-- Testing gmdate() function with short textual representation of month format --\n";
26 var_dump( gmdate('M') );
27 var_dump( gmdate('M', $timestamp) );
29 echo "\n-- Testing gmdate() function with numeric representation of month without leading zeros for…
30 var_dump( gmdate('n') );
31 var_dump( gmdate('n', $timestamp) );
33 echo "\n-- Testing gmdate() function with number of days in a month format --\n";
34 var_dump( gmdate('t') );
35 var_dump( gmdate('t', $timestamp) );
40 *** Testing gmdate() : usage variation ***
42 -- Testing gmdate() function with full textual representation of month format --
46 -- Testing gmdate() function with numeric representation of month format --
50 -- Testing gmdate() function with short textual representation of month format --
54 -- Testing gmdate() function with numeric representation of month without leading zeros format --
58 -- Testing gmdate() function with number of days in a month format --