Without writing a regx, is there a php function/library that will take a string and try and convert it to a date? PHP's date is not adequate.
For example, these are all "dates". I would expect it to succeed on any of these. On those that are ambiguous, there should be attribute that can be set like, expect year between 78 and 16. This is strictly best guess, I do not supply a format. Failure is expected.
feb 21, 1999
Feburary 21, 1999
02/21/99
2/21/99
99/2/21
2-21-1999
19990221
sun, Feb 21, 1999
Sunday Feburary 21, 1999
anything returned by a mysql date (now(), datetime ...)
Today's date is DATESTUFF
You get the idea.
Returns false on couldn't do it, and some array or seconds after N if successful.
Thank you.