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

Your name:

Reply:


Posted by Brian Kendig on 07/10/07 20:41

On Jul 10, 3:15 pm, ZeldorBlat <zeldorb...@gmail.com> wrote:
> On Jul 10, 1:16 pm, Brian Kendig <b...@enchanter.net> wrote:
> > Is there a direct way to convert times from this format into
> > timestamps, other than my having to whip up a simple parsing routine?
>
> Not really -- other than turning it into a format that is recognized.

Thanks for the tip - that's the approach I decided to take to avoid
this whole problem.

> You should have used a wrapper everywhere to begin with. Then this
> change would be trivial.

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. :)

[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

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