Lines Matching refs:gmdate
2 Test gmdate() function : usage variation - Passing Year format options to format argument.
5 echo "*** Testing gmdate() : usage variation ***\n";
12 echo "\n-- Testing gmdate() function with checking non leap year using Leap Year format --\n";
13 var_dump( gmdate('L', $timestamp_non_leap_year) );
15 echo "\n-- Testing gmdate() function with checking leap year using Leap Year format --\n";
16 var_dump( gmdate('L') );
17 var_dump( gmdate('L', $timestamp) );
19 echo "\n-- Testing gmdate() function with ISO-8601 year number format --\n";
20 var_dump( gmdate('o') );
21 var_dump( gmdate('o', $timestamp) );
23 echo "\n-- Testing gmdate() function with full numeric representation of year format --\n";
24 var_dump( gmdate('Y') );
25 var_dump( gmdate('Y', $timestamp) );
27 echo "\n-- Testing gmdate() function with 2 digit representation year format --\n";
28 var_dump( gmdate('y') );
29 var_dump( gmdate('y', $timestamp) );
33 *** Testing gmdate() : usage variation ***
35 -- Testing gmdate() function with checking non leap year using Leap Year format --
38 -- Testing gmdate() function with checking leap year using Leap Year format --
42 -- Testing gmdate() function with ISO-8601 year number format --
46 -- Testing gmdate() function with full numeric representation of year format --
50 -- Testing gmdate() function with 2 digit representation year format --