Calculating remaining days in a month in php

Hi team how to calculate remains days in a current month using php.
Deepak Sharma
Asked 13-12-2024
184

Answer (1)
Hi simple code is here <?php $d=cal_days_in_month(CAL_GREGORIAN,date("m", strtotime("next month")),date("Y")); ?>
Ankur Rajput
Asked 15-10-2019
45 Likes
Comments
Write comment

Submit your answer