mysql adddate()函数
mysql> select adddate('1998-01-02', 31); +---------------------------+ | adddate('1998-01-02', 31) | +---------------------------+ | 1998-02-02 | +---------------------------+ 1 row in set (0.00 sec)
mysql> select adddate('1998-01-02', 31); +---------------------------+ | adddate('1998-01-02', 31) | +---------------------------+ | 1998-02-02 | +---------------------------+ 1 row in set (0.00 sec)