 
  Data Structure Data Structure
 Networking Networking
 RDBMS RDBMS
 Operating System Operating System
 Java Java
 MS Excel MS Excel
 iOS iOS
 HTML HTML
 CSS CSS
 Android Android
 Python Python
 C Programming C Programming
 C++ C++
 C# C#
 MongoDB MongoDB
 MySQL MySQL
 Javascript Javascript
 PHP PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to add a day to the date in MySQL?
To add 1 day, use date_add() function. Adding a day to datetime in MySQL gives the next day. The following is the syntax −
SELECT DATE_ADD('Any date’', INTERVAL 1 DAY) AS AliasName; Now, I am applying the above query to add a day with date in MySQL. The query is as follows −
mysql> SELECT DATE_ADD('2018-10-08', INTERVAL 1 DAY) AS NextDay;  After executing the above query, we will get the following output −
+------------+ | NextDay | +------------+ | 2018-10-09 | +------------+ 1 row in set (0.00 sec)
Therefore, in this sample output, I am adding a day with current date
Advertisements
 