Home Sql Sqldate Mysql Date Add Days

Related Tutorials


 
 

Share on Google+Share on Google+

Mysql Date Add Days

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

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: December 31, 2008

Related Tutorials

Discuss: Mysql Date Add Days  

Post your Comment


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