DATE_ADD() function
DATE_ADD()
This function used to add date or (any unit of date) with given date value.If we add to a date value something that contains a time part, the result is automatically converted to a datetime value.
syntax:
DATE_ADD(date,INTERVAL expr unit)
Example:
SELECT DATE_ADD(CURDATE,INTERVAL 30 day);
Output:
3/14/2007
