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



Home Sql Sqldate Mysql Date Today

Related Tutorials


 
 

Share on Google+Share on Google+

Mysql Date Today

Advertisement
Mysql Date Today show you Query to retrieve the current today date.

Mysql Date Today

     

Mysql Date Today show you Query to retrieve the current today date. 

Understand with Example

The Tutorial illustrate an example from Date Today in My sql. The Query used in the below example the now( ) return you the today current date.

date (now ( )) : The Query now ( )   return you the current today date in Mysql.

Query for finding the current date:-

mysql> select date(now())as DateToday;

Output:-

+------------+
| DateToday  |
+------------+
| 2008-12-22 |
+------------+
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: January 20, 2009

Related Tutorials

Discuss: Mysql Date Today   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:1
Stivlo
October 7, 2011
What about curdate?

No need to extract the date from now(), there is CURDATE already. SELECT CURDATE() AS DateToday;
DMCA.com