Date: 11/12/00
- Next message: Alexander Sun: "[PHP-DEV] Re: PHP 4.0 Bug #7767 Updated: mail function works with php3 but not php4"
- Previous message: lem <email protected>: "[PHP-DEV] PHP 4.0 Bug #5712 Updated: php4ts.dll produces page fault"
- Next in thread: Derick Rethans: "Re: [PHP-DEV] RE: Bug #7323 Updated: Limitation to substr()"
- Reply: Derick Rethans: "Re: [PHP-DEV] RE: Bug #7323 Updated: Limitation to substr()"
- Maybe reply: Derick Rethans: "Re: [PHP-DEV] RE: Bug #7323 Updated: Limitation to substr()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Alexander Sun: "[PHP-DEV] Re: PHP 4.0 Bug #7767 Updated: mail function works with php3 but not php4"
- Previous message: lem <email protected>: "[PHP-DEV] PHP 4.0 Bug #5712 Updated: php4ts.dll produces page fault"
- Next in thread: Derick Rethans: "Re: [PHP-DEV] RE: Bug #7323 Updated: Limitation to substr()"
- Reply: Derick Rethans: "Re: [PHP-DEV] RE: Bug #7323 Updated: Limitation to substr()"
- Maybe reply: Derick Rethans: "Re: [PHP-DEV] RE: Bug #7323 Updated: Limitation to substr()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

