From: ober Date: 2005-08-30T01:34:27+09:00 Subject: Date problem. 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.