RE: Bug #7323 Updated: Limitation to substr()
| From: | Derek Papesch | Date: | Sun, 12 Nov 2000 20:41:03 +0000 |
| Subject: | RE: Bug #7323 Updated: Limitation to substr() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37836@lists.php.net to get a copy of this message | ||
Substr() was a spelling mistake made in the submission form which was
corrected later.
The problem is in strtotime(). (IT HAS NOTHING TO DO WITH SUBSTR())
strtotime() described as "Parse about any english textual datetime
description into a UNIX timestamp" is flawed. It does not take all MySQL
dates. In the US dates are written: 11/13/00, (i.e. Month/Day/Year) the
rest of the world uses 13/11/00 (i.e. Day/Month/Year).
READ THE PROBLEM BEFORE YOU REPLY!!!