Number Days Any Month

 
<?php$lastday = mktime(0, 0, 0, 3, 0, 2006);
printf("There are %d days in February, 2006.", date("t",$lastday));?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.