Home Sql Sqldate Mysql Date Add
Questions:Ask|Latest


 
 

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

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

Ask Questions?    Discuss: Mysql Date Add  

Post your Comment


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