Re: RE: Bug #7323 Updated: Limitation to substr()
| From: | Derick Rethans | Date: | Sun, 12 Nov 2000 21:23:58 +0000 |
| Subject: | Re: RE: Bug #7323 Updated: Limitation to substr() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-37844@lists.php.net to get a copy of this message | ||
Hello,
I didn't find another way to do it, I'll check it out...
Moving it to feature requests...
Derick
Derek Papesch wrote:
> Yes this is what I wrote: "I haven't looked into this much, but it appears
> that the substr()
> function only accepts American MM/DD/YYYY".
>
> This is what I meant(!): "I haven't looked into this much, but it appears
> that the STRTOTIME()
> function only accepts American MM/DD/YYYY".
>
> I wrote a work around, but pinpointing why my dates were going funny in the
> first place took more time. A switch might help.
> $date = @mysql_result($search,0,date);
> $date = strtotime(substr($date,5,2) . '/' . substr($date,8,2) . '/' .
> substr($date,0,4) . ' ' . substr($date,11,5));
>
> Somebody replied to me and I corrected my statement.
>
> NO, you haven't created a wonderful free language, that is a SERIOUS
> UNDERSTATEMENT, PHP needs many more adjectives... FAST, SUPURB, MAGNIFICENT,
> ADORABLE
Thx dude :-)
--
Derick Rethans