DATEDIFF « Date Time Functions « MySQL Tutorial






14.9.DATEDIFF
14.9.1.DATEDIFF(expr1,expr2): returns expr1 - expr2 as a value in days
14.9.2.Using DATEDIFF with data in a column