[PHP-DEV] RE: Bug #7323 Updated: Limitation to substr() From: Derek Papesch (derekpapesch <email protected>)
Date: 11/12/00

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!!!

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>