Get last date of the month

by mariganesh 2013-02-12 12:14:09

Get last date of the month



<?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;
?>
543
like
0
dislike
0
mail
flag

You must LOGIN to add comments