O
ober
I have read over the man pages and can not seem to find a way to do the
following
-----php---------------
$lastmonth = mktime(0, 0, 0, date("m")-1, date(01), date("Y"));
$name = date('Y-m-d', $lastmonth);
echo "$name\n";
----php----------------
Where the first day of the previous month is listed.
In this case you would get 2005-07-01
Thanks in advance.
following
-----php---------------
$lastmonth = mktime(0, 0, 0, date("m")-1, date(01), date("Y"));
$name = date('Y-m-d', $lastmonth);
echo "$name\n";
----php----------------
Where the first day of the previous month is listed.
In this case you would get 2005-07-01
Thanks in advance.