How would I test for a range of dates, regardless of the year?
For example:
If ( between April 1st and November 1st )
DO THIS
else
DO THIS
I just realized, maybe:
Maybe writing it out helped.PHP Code:$month = date(m);
if ( $month >= 4 && $month <= 10 )
// Do this
else
// Do this
Is there a better way of doing it?
Thanks



Reply With Quote


Bookmarks