Mysql Date Add 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:-

Advertisements

Ads

 

We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.

Share on Google+Share on Google+

Mysql Date Add Days

Posted on: December 31, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

Ads
 

Discuss: Mysql Date Add Days  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0

Ads

 

Ads