Home Sql Sqldate Mysql Date now function



Mysql Date now function
Posted on: April 3, 2006 at 12:00 AM
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)

Related Tags for Mysql Date now function:


More Tutorials from this section

Ask Questions?    Discuss: Mysql Date now function  

Post your Comment


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

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.