ADDDATE(expr,days) : ADDDATE : Date Time Functions MySQL TUTORIALS


MySQL TUTORIALS » Date Time Functions » ADDDATE »

 

ADDDATE(expr,days)


MySQL treats the second argument as an integer number of days to be added to expr.

mysql>
mysql> SELECT ADDDATE('1998-01-02', 31);
+---------------------------+
| ADDDATE('1998-01-02', 31|
+---------------------------+
1998-02-02                |
+---------------------------+
row in set (0.00 sec)

mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Date Time Functions
» ADDDATE