#15184 [Opn->Asn]: Calculate the quarter with date('Q')?
| From: | nlopess@php.net | Date: | Thu, 11 Aug 2005 17:22:40 +0000 |
| Subject: | #15184 [Opn->Asn]: Calculate the quarter with date('Q')? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-83384@lists.php.net to get a copy of this message | ||
ID: 15184
Updated by: nlopess@php.net
Reported By: j-f at gmx dot net
-Status: Open
+Status: Assigned
Bug Type: Feature/Change Request
Operating System: -
PHP Version: 4.1.1
-Assigned To:
+Assigned To: derick
New Comment:
One more for you, Derick :)
Previous Comments:
------------------------------------------------------------------------
[2002-01-23 11:44:26] j-f at gmx dot net
I added a note how to calculate the quarter:
ceil(date('n')/3);
But I suggest extending date() with the option 'Q' or 'q'.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15184&edit=1