note 117736 rejected from function.date by cmb
| From: | cmb@php.net | Date: | Thu, 30 Jul 2015 16:57:15 +0000 |
| Subject: | note 117736 rejected from function.date by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-203227@lists.php.net to get a copy of this message | ||
Note Submitter: thiru dot vaka at gmail dot com
----
for ($i = 1; $i <=12; $i++) {
echo (date('F', mktime(0,0,0,$i))).',';
}
this logic is returns the multiple March's
Below is the output :-
January,March,March,April,May,June,July,August,September,October,November,December.