strtotime: Last Month problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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. 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux