Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Sql Sqldate Mysql Date Add

Related Tutorials


 
 

Share on Google+Share on Google+

Mysql Date Add

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

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

Advertisements

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  

Post your Comment


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