Strip month, day, year from the string (e.g., using substr and intval)... then feed the m/d/y components into:
int juliantojd (int month, int day, int year)
this returns a value (number of days since antiquity I guess)... that value can be compared to others even for substraction purposes.
Dave
===========================================
http://badblue.com
Small footprint P2P web server for Windows,
File-sharing, PHP, wireless apps & more