Exemplo n.º 1
0
 function daysInCurrentMonth()
 {
     $date = new BrDateTime($this->asDateTime());
     $date->day = 1;
     $date->incMonth();
     $date->decDay();
     return $date->day;
 }