Reply to Re: strtotime("2007 Jul 10") fails

Your name:

Reply:


Posted by Jerry Stuckle on 07/11/07 13:13

ZeldorBlat wrote:
> On Jul 10, 4:41 pm, Brian Kendig <b...@enchanter.net> wrote:
>> Well, I don't have THAT much foresight. I don't want to go using
>> wrappers for every built-in PHP function on the off chance that
>> someday I might want to extend their functionality. :)
>
> Why not?
>

I agree with Brian. I don't write wrappers for PHP functions. It's a
huge waste of time - both programming and processing.

In this case I would just convert the time to something strtotime()
accepts when I get it from the form.

Or, more likely, I would already have an OO approach involved and change
the class.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация