Regex filter needed for date
Posted: Sat Jun 27, 2009 10:52 am
January 1, 2008
June 25, 2009 - 8:24 am
I need to break down the first date into 3 arrays, Month, Date, year.
And the second one the same, and the time could be ignored.
The data fetched from the database is varchar, and I need a preg_match fucntion to do this. Thanks alot. Im a newbie.
June 25, 2009 - 8:24 am
I need to break down the first date into 3 arrays, Month, Date, year.
And the second one the same, and the time could be ignored.
The data fetched from the database is varchar, and I need a preg_match fucntion to do this. Thanks alot. Im a newbie.