Returns the difference between those timestamps expressed in the units represented by the first parameter.
Example:
Estimate the age of employees in months.
SELECT TIMESTAMPDIFF(64,CAST(CURRENT_TIMESTAMP-CAST(BIRTHDATE AS TIMESTAMP) AS CHAR(22))) AS AGE_IN_MONTHS FROM EMPLOYEE