Home Sql Sqldate Mysql Date from Date



Mysql Date from Date
Posted on: December 31, 2008 at 12:00 AM
Mysql Date from Date Time in Mysql return the Current date.

Mysql Date from Date

     

Mysql  Date from Date Time in Mysql return the Current  date.

Understand with Example

The Tutorial illustrate an example from 'DateTime in Mysql'. To grasp this example, we use date(current_trimestamp ( )) query that return you the current date  from date time as Date field name.

Query:-

 

 

mysql> select date(current_timestamp()) as Date;

Output:-

+------------+
| Date |
+------------+
| 2008-12-19 |
+------------+
1 row in set (0.00 sec)

Related Tags for Mysql Date from Date:
sqlmysqlcdatetimereturneimfromcurrentinmntmesurnatmyimessrenthomo


More Tutorials from this section

Ask Questions?    Discuss: Mysql Date from Date  

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.