Mysql Date Add Days

Ads
 

Mysql Date Add Days

The Tutorial illustrate an example to add days to the particular days.

The Tutorial illustrate an example to add days to the particular days.

Mysql Date Add Days

     

The Tutorial illustrate an example to add days to the particular days.

Understand with Example

In this section we are describing you the way to add days to the particular date.

SYNTAX:- ADDDATE(date,INTERVAL expr unit)

date:-Date From which you want to add days.

INTERVAL expr unit:- Number of the days you want to add to the specified date.

Query:-

The below query add the 7 days to the specified day.

SELECT DATE_ADD('2008-12-15', INTERVAL 7 DAY)

Output:-

Ads

Ads