Mysql Date Add is used to add the days to the date specified in query.
Understand with Example
The Tutorial illustrate an example from 'Mysql Date Add'. To grasp this example we use query AddDate('2008-11-15',INTERVAL 31 DAY) that add intervals of 31 days.
ADDDATE('2008-11-15',INTERVAL 31 DAY) : The given query add a interval of 31 days to the '2008-11-15'.
Query:-
| SELECT ADDDATE('2008-11-15', INTERVAL 31 DAY); |
Output:-
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.
Ask Questions? Discuss: Mysql Date Add
Post your Comment