I\'m looking for a function that calculates years from a date in format: 0000-00-00. Found this function, but it wont work.
// Calculate the age from a given
You need to return $yearDiff, I think.