Mysql Date Add

Mysql Date Add is used to add the days to the date specified in query.

Mysql Date Add

Mysql Date Add

     

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:-