note 42682 added to function.strtotime

From: Date: Wed, 26 May 2004 13:03:59 +0000
Subject: note 42682 added to function.strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-70105@lists.php.net to get a copy of this message
For months I have been successfully running code which uses strtotime() to convert a time/date string in the format:- "06:00 5 January 2004" For some reason this has failed today, returning -1, although I find the following formats still work:- "06:00" "5 January 2004" "06:00 GMT 5 January 2004" "5 January 2004 06:00" Moral: If the string contains both time and date, ensure the date comes first. Anyone got a reason for why this function should start misbehaving today, 26 May 2004? ---- Manual Page -- http://www.php.net/manual/en/function.strtotime.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42682 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42682&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42682&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#70105) next »