Mysql Date now function

Mysql Date now function is useful when you want to return the current time and date .

Mysql Date now function

     

Mysql Date now function is useful when you want to return the current time and date .

Understand with Example

The Tutorial illustrate an example from 'Mysql Date now function'. In this Tutorial we define a now ( ) Query that return you the current date and time.

now ( ) : The now ( ) function return you the current date and time as DatenowFunction.

Query:-

mysql> select now()as DatenowFunction;

Output:-

+---------------------+
| DatenowFunction     |
+---------------------+
| 2008-12-22 13:05:44 |
+---------------------+
1 row in set (0.20 sec)

Advertisements

Ads

 

We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.

Share on Google+Share on Google+

Mysql Date now function

Posted on: April 3, 2006 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

Ads
 

Discuss: Mysql Date now function  

Post your Comment


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

Ads

 

Ads