Hi,

how about this approach (pseudocode!!)
if($date > $StartDate && $date < $EndDate) $active = 1; else $active = 0;
and later
if($active) print "<font color=\"blue\">";
if($active) print "</font>";

I was putting the "pseudocode" there because you might be comparing dates with seconds, or dates with dates, etc.
If your database returns the dates as seconds, a mktime() to convert the date-to-show into same units would make sense

Musicman