|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-03-30 18:41 UTC] rasmus@php.net
[2012-03-30 18:41 UTC] rasmus@php.net
-Status: Open
+Status: Not a bug
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 09 03:00:01 2025 UTC |
Description: ------------ Strtotime() show bad result! At my pc: 2012/03/30 16:26 (Kiev) ===================== Php show bad result: echo date('d-m-Y, H:i', strtotime('-1 month')); // 30-01-2012, 16:26 MySQL show good result: select CURRENT_TIMESTAMP - interval 1 month // 2012-02-29 16:26:51