note 68116 deleted from function.strtotime by derick

From: Date: Sun, 08 Apr 2007 13:02:12 +0000
Subject: note 68116 deleted from function.strtotime by derick
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-125211@lists.php.net to get a copy of this message
Note Submitter: dcarter at acromediainc dot com ---- Get Quarters: This is how you find quarters for the current year. //get our year $year = date('Y'); //month = janurary $month =1; while($month<=12){ $quarter = strtotime(date("Y-m-d", mktime(0, 0, 0, $month, 1, $year))); echo $quarter.'<br>'; $month = $month +3; }

« previous php.notes (#125211) next »