Mega Code Archive

 
Categories / MySQL Tutorial / Date Time Functions
 

DATE_ADD(curdate(), INTERVAL 1 WEEK)

mysql> mysql> select DATE_ADD(curdate(), INTERVAL 1 WEEK); +--------------------------------------+ | DATE_ADD(curdate(), INTERVAL 1 WEEK) | +--------------------------------------+ | 2007-07-29                           | +--------------------------------------+ 1 row in set (0.00 sec)