|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-09-27 10:09 UTC] cataphract@php.net
-Status: Open
+Status: Bogus
[2011-09-27 10:09 UTC] cataphract@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 20 20:00:01 2025 UTC |
Description: ------------ Strtotime() function creates problem when we convert a date which is in afternoon time. Please see the example below. I have tried in 5.3.5 version of PHP on Wamp Server 2. //it returns just empty echo strtotime('Sep 23 2011 16:55PM'); // it returns as intended echo strtotime('Sep 23 2011 04:55PM'); Test script: --------------- echo strtotime('Sep 23 2011 16:55PM');