Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php days in month

// For given month
echo cal_days_in_month(CAL_GREGORIAN, 1, 2021);
// For current month
echo date('t');
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #days #month
ADD COMMENT
Topic
Name
3+3 =