Home Sql Sqldate Mysql Date Get Month

Related Tutorials


 
 

Share on Google+Share on Google+

Mysql Date Get Month

Advertisement
The tutorial explains you the way to retrieve the current month.

Mysql Date Get Month

     

The tutorial explains you the way to retrieve the current month.

Understand with Example

The Tutorial illustrate an example from 'Mysql Date Get Month'. To understand this example, we use Month(Current_timestamp) that return the value of the current month.

Month(Current_TimeStamp) : The Month(Current_Timestamp) returns you the current month value. This is also considered as synonyms for now( ).

Query:

The Query below return you the  current value for the month.

Select Month(CURRENT_TIMESTAMP);

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 Get Month  

Post your Comment


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