Mysql Date Add

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

Ads

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

Ads
Share on Google+Share on Google+

Mysql Date Add

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  

Post your Comment


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

Ads

 

Ads