expr1 − expr2), accurate to the month.
Syntax
Parameters
-
expr1: the end time. It must be of the DATETIME or DATE type. -
expr2: the start time. It must be of the DATETIME or DATE type.
Returns the month difference between two date expressions (expr1 − expr2), accurate to the month.
expr1 − expr2), accurate to the month.
expr1: the end time. It must be of the DATETIME or DATE type.
expr2: the start time. It must be of the DATETIME or DATE type.