To Match: Tue, Jul 29, 2003

> $pregmatchstring="/([\s])*(Renewal\DDate|Registered\sthrough|Expires|Record
>\sExp ires|Domain\sExpires|Expiry\sDate)([\D\s]*)(.*)/i";

You can change the last part of $pregmatchstring in:

You can feed this match also to strtotime().


$testdate='works: Tue, Jul 29, 2003 works';


echo strtotime($matches[2])-strtotime('29 July 2003');


this will echos zero, zo i think it works.

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to