Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
function getDaysInCurrentMonth() {
$dateArray = getdate();
$nextMonthTimeStamp = mktime ( 0, 0, 0, $dateArray['month'] + 1, -1, $dateArray['year'] );
return date("j", $nextMonthTimeStamp );
}
echo getDaysInCurrentMonth();
?>
function getDaysInCurrentMonth($intMonth, $intYear) {
$intYear = ($intMonth == 11) ? ($intYear + 1) : $intYear;
$nextMonthTimeStamp = mktime ( 0, 0, 0, $intMonth + 1, -1, $intYear );
return date("j", $nextMonthTimeStamp );
}
echo getDaysInCurrentMonth(6, 2006);
?>