get month days in php
snippet in php

get month days in php

user6169

echo cal_days_in_month(CAL_GREGORIAN, 8, 2009);

php get total amount of days in month

user5423

$DaysInCurrentMonth = date('t');