Date Calculation Help

From: Date: Sat, 30 Jun 2007 15:14:21 +0000
Subject: Date Calculation Help
Groups: php.general 
Request: Send a blank email to php-general+get-258012@lists.php.net to get a copy of this message
I have segmented a year into four quarters (3 months each) nowdate = the month of the chosen date (ex: 5-30-07 = month 5) Q: What is the best way to calculate which quarter (1-2-3 or 4) the chosen date falls on? Result - Ex: 5-30-07 = month 5 and should fall in quarter 2 -- Thanks - RevDave CoolCat@hosting4days.com [db-lists]

« previous php.general (#258012) next »