The unit for the result is given by the unit argument.
The unit should be one of the following values:
mysql>mysql> SELECT TIMESTAMPDIFF(MONTH,'2003-02-01','2003-05-01');+------------------------------------------------+| TIMESTAMPDIFF(MONTH,'2003-02-01','2003-05-01') |+------------------------------------------------+| 3 |+------------------------------------------------+1 row in set (0.00 sec)
Name (required)
email (will not be published) (required)
Website