Hi!!! I have next code:

PHP Code:
<? $id "month(now())";
                 if(
$arrl["periodo"] == 0//se for só um dia
                         
echo $arrl["day"]." de ".trata_month($arrl["month"]);
                   elseif(
$arrl["periodo"] != 0)// periodo de tempo no mesmo mês
                         
echo $arrl["day"]." a ".($arrl["day"] + $arrl["periodo"])." de ".trata_month($arrl["month"]);
...

and to 3 more echos...

1º an expression with separated several days of two months. Example: 25, 26 of April and 2 of May

2º an expression with periodic time of two months. Example: 25 a 30 of April and 4 a 7 of May

3º an expression if a event had the 26 of April a 7 of May and if the current month is May it must show " Even 7 of May"