note 82566 deleted from function.date by felipe

From: Date: Sun, 04 May 2008 22:50:42 +0000
Subject: note 82566 deleted from function.date by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-139053@lists.php.net to get a copy of this message
Note Submitter: Jutboy ---- If anyone wants a conversion of months to seasons...here it is....super simple. if ($month == 12 OR $month == 1 OR $month == 2) { $season = "Winter"; } elseif ($month == 3 OR $month == 4 OR $month == 5) { $season = "Spring"; } elseif ($month == 6 OR $month == 7 OR $month == 8) { $season = "Summer"; } elseif ($month == 9 OR $month == 10 OR $month == 11) { $season = "Fall"; }

« previous php.notes (#139053) next »