Calculating remaining days in a month in php

Hi team how to calculate remains days in a current month using php.
Deepak Sharma
Asked 10-11-2024
182

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