How to get the number of days of the current month? in PHP

how to get the number of days of the current month? in PHP
Ankur Rajput
Asked 30-12-2024
208

Answer (1)
$d=cal_days_in_month(CAL_GREGORIAN,date("7"),date("2018")); echo $d; Result: 31 Enjoy :)
Deepak Sharma
Asked 16-07-2018
45 Likes
Comments
Write comment

Submit your answer