You can use strtotime to convert the string to a UNIX timestamp, which is in seconds. time()
will give you the current UNIX timestamp. Subtract them to get how old the date is in seconds, and divide by 60*60*24
to get it in days
It's also doable using DateTime::diff, although I find the date functions easier than using the classes