strtotime: Last Month problem

From: Date: Wed, 30 Mar 2005 22:02:27 +0000
Subject: strtotime: Last Month problem
Groups: php.db 
Request: Send a blank email to php-db+get-39076@lists.php.net to get a copy of this message
Hi, I'm trying to use strtotime("last month"), strtotime("-1 month"), or strtotime("1 month ago") to get the last month. However, it keeps returning March, not February. This started happening just yesterday, March 29th. This obviously has something to do with February's shorter amount of days, since I've never had this problem before. Anyone know a way around this? Thanks in advance.

« previous php.db (#39076) next »