How to Calculate the Last Day of the Month in PHP

Published Date Author: , Posted April 24th, 2012 at 8:02:39pm


$lastDay = date("Y-m-t", strtotime("-3 months"));
$firstDay = date("Y-m-01", strtotime("-3 months"));

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.