Re: Date Calculation Help

From: Date: Mon, 02 Jul 2007 22:16:45 +0000
Subject: Re: Date Calculation Help
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-258060@lists.php.net to get a copy of this message
Well then after or before that you have to check that the month value is between 1 and 12 to make sure there's no input errors, then what if you ever want ot change the quarters.... yeah anway I just wanted an excuse to tell people to go low tech and use a switch, it's only 12 entries, and you could set a default. - Dan "Fredrik Thunberg" <thunis@webguidepartner.com> wrote in message news:4688FFD1.5040203@webguidepartner.com...
of course ceil( month / 3 ); -- /Thunis Don't panic. --The Hitchikers Guide to the Galaxy Fredrik Thunberg skrev:
$q = ceil( month / 4 );


« previous php.general (#258060) next »