Adding one year to a date : DATE_ADD : Date Time Functions MySQL TUTORIALS


MySQL TUTORIALS » Date Time Functions » DATE_ADD »

 

Adding one year to a date


mysql>
mysql> SELECT DATE_ADD('2006-05-01',INTERVAL YEAR);
+----------------------------------------+
| DATE_ADD('2006-05-01',INTERVAL YEAR|
+----------------------------------------+
2007-05-01                             |
+----------------------------------------+
row in set (0.02 sec)



Leave a Comment / Note


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

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Date Time Functions
» DATE_ADD