inboxHub
Login
Signup
x
Login
Signup
Home
Categories
Application
Artificial Intelligence
Database
Digital Marketing
Physiotherapy
Quality Assurance
Web Technology
Home
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
how to get the number of days of the current month? in PHP
Ankur Rajput
Asked 19-11-2024
203
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
Submit your answer