Mysql Date Get Month

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


 
Ads

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

Ads
Share on Google+Share on Google+

Mysql Date Get Month

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

Post your Comment


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

Ads

 

Ads