|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-11-12 15:56 UTC] derick@php.net
-Status: Open
+Status: Bogus
[2010-11-12 15:56 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 14:00:01 2025 UTC |
Description: ------------ Using strtotime() to convert a UK date stamp (DD/MM/YYYY) but getting null or incorrect date. Test script: --------------- <? ini_set('date.timezone', 'Europe/London'); $time = strtotime('31/08/2010'); $date = date('jS M Y', $time); echo $date; ?> Expected result: ---------------- 31st Aug 2010 Actual result: -------------- 1st Jan 1970