Mysql Date Add Year explains to add the year to the particular date.
Understand with Example
The Tutorial illustrate an example from 'Mysql Date Add Year'. To graspe this example, we use Add('2008-12-15',INTERVAL 1 YEAR) query that add a 1 Year to the particular date.
SYNTAX:-ADDDATE(date,INTERVAL expr unit)
date:-Date from which the year is to be added.
INTERVAL expr unit :-No of the years to be added.
The Query Date_Add('2008-12-15',INTERVAL 1YEAR) add a 1 year interval to the particular date.
|SELECT DATE_ADD('2008-12-15', INTERVAL 1 YEAR);|
|border="0" src="Add-Year.gif" width="307" height="38">|
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.