Do you have some idea about going about the problem?? If you have we can elaborate/improve on your idea.
Code: $perioidstart = "1.2.2007"; $perioidend = "3.22.2007"; $today = "date("d.m.y"); if ($today > $perioidstart) { if ($today < $perioidend) { $period = 1; } } But that didn't work. Is there is something other way to do this?