Reply to Re: formatting time

Your name:

Reply:


Posted by Rik on 11/19/71 11:46

Mark wrote:
> eh..well. thanks, but no. i love the idea of it just being "smart".
> google knows what i'm talking about.
> strtotime works alright, doesnt recognize everything i want it to, but
> oh well. it has a nice second parameter, so i can make it relative to
> the start time :)
>
> it really shouldnt be too hard to break it up into integer and letter
> components though.. maybe i'll have fun with regex or whatever later

To just "catch" the integers, you could
preg_match("/[0-9]+/",$input,$matches);

Grtz,
--
Rik Wasmus

[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

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