Lines Matching refs:gmdate

2 Test gmdate() function : usage variation - Passing Timezone 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 Timezone identifier format --\n";
18 var_dump( gmdate('e') );
19 var_dump( gmdate('e', $timestamp) );
21 echo "\n-- Testing gmdate() function with checking whether date is in daylight saving time format -…
22 var_dump( gmdate('I') );
23 var_dump( gmdate('I', $timestamp) );
25 echo "\n-- Testing gmdate() function with difference to GMT in hours format --\n";
26 var_dump( gmdate('O') );
27 var_dump( gmdate('O', $timestamp) );
29 echo "\n-- Testing gmdate() function with Difference to GMT in hours using colon as separator forma…
30 var_dump( gmdate('P') );
31 var_dump( gmdate('P', $timestamp) );
33 echo "\n-- Testing gmdate() function with timezone abbreviation format --\n";
34 var_dump( gmdate('T') );
35 var_dump( gmdate('T', $timestamp) );
37 echo "\n-- Testing gmdate() function with timezone offset format --\n";
38 var_dump( gmdate('T') );
39 var_dump( gmdate('T', $timestamp) );
44 *** Testing gmdate() : usage variation ***
46 -- Testing gmdate() function with Timezone identifier format --
50 -- Testing gmdate() function with checking whether date is in daylight saving time format --
54 -- Testing gmdate() function with difference to GMT in hours format --
58 -- Testing gmdate() function with Difference to GMT in hours using colon as separator format --
62 -- Testing gmdate() function with timezone abbreviation format --
66 -- Testing gmdate() function with timezone offset format --