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);|
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: December 31, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles