Edit report at http://bugs.php.net/bug.php?id=52020&edit=1
ID: 52020 Updated by: degeb...@php.net Reported by: 117712 at gmail dot com Summary: date function error -Status: Open +Status: Bogus Type: Bug -Package: Website problem +Package: Date/time related PHP Version: 5.2.13 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Valid formats are explained here: http://php.net/datetime.formats Previous Comments: ------------------------------------------------------------------------ [2010-06-08 10:51:47] 117712 at gmail dot com Description: ------------ I think this will return 2010-04-31 but no show it for me! Test script: --------------- echo date('Y-m-d', strtotime("-1 month 2010-05-31")); Expected result: ---------------- echo date('Y-m-d', strtotime("-1 month 2010-05-31")); Actual result: -------------- echo date('Y-m-d', strtotime("-1 month 2010-05-31")); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52020&edit=1