Re: RE: Bug #7323 Updated: Limitation to substr()

From: Date: Sun, 12 Nov 2000 20:54:08 +0000
Subject: Re: RE: Bug #7323 Updated: Limitation to substr()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-37838@lists.php.net to get a copy of this message
Hello, Derek Papesch wrote: > 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!!! You wrote: "I haven't looked into this much, but it appears that the substr() function only accepts American MM/DD/YYYY". There is totally NOTHING about strtotime on your report. BUT IT CLEARLY SAYS "ABOUT ANY" and not "ALL", and please be nice. We created a wonderfull free langauge, and dont need this kind of insults from you. Oh, and stop the damn CAPITALS. Derick Rethans

« previous php.dev (#37838) next »