Re: [PHP-DEV] RE: Bug #7323 Updated: Limitation to substr() From: Derick Rethans (d.rethans <email protected>)
Date: 11/12/00

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 =  <email protected>($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

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