Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Sql Sqldate Mysql Date Now

Related Tutorials


 
 

Share on Google+Share on Google+

Mysql Date Now

Advertisement
Date Now in Mysql is used to find out the current date and time.

Mysql Date Now

     

Date Now in Mysql is used to find out the current date and time.

Understand with Example

The Tutorial illustrate an example from 'Mysql Date Now'. In this example we help you to find out the current date and time in Mysql. The Syntax below returns you the current date and time:

now ( ) :The now ( ) return you the current date and time in the field name Datenow.

Query:-

mysql> select now()as Datenow;

Output:-

+---------------------+
| Datenow             |
+---------------------+
| 2008-12-22 12:47:03 |
+---------------------+
1 row in set (0.00 sec)
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: April 3, 2006

Related Tutorials

Discuss: Mysql Date Now  

Post your Comment


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