Php - How to get last date of month, Last date of the month
How to get last date of month
How to get last date of the month in php<?php $year=date("Y"); $month=date('m'); $datee=strtotime("$curr_yea-$curr_mon"); $cur_end=date("Y-m-d",strtotime("+1 month -1 second",$datee)); echo $cur_end; ?>
The above php code will help you to fetch last date of the month. fetch last date of the year.
The topic on Php - How to get last date of month is posted by - Math
Hope you have enjoyed, Php - How to get last date of monthThanks for your time