How to Calculate the Last Day of the Month in PHP
erics, Posted April 24th, 2012 at 8:02:39pm
$lastDay = date("Y-m-t", strtotime("-3 months"));
$firstDay = date("Y-m-01", strtotime("-3 months"));
Leave Your Comment
All fields marked with "*" are required.