Source Code:
(back to article)
<?php $current_month = date('m'); $current_year = date('Y'); $days_in_month = date('t', mktime(0, 0, 0, $current_month, 1, $current_year)); echo "There are " . $days_in_month . " days in " . date('F Y');
Result:
Report an issue